Creates a new script or add-in. This uses the same internal template that's used when creating a new script or add-in using the "Scripts and Add-Ins" dialog. The provided ScriptInput object defines the information needed to create a new script or add-in.
"scripts_var" is a variable referencing a Scripts object. |
"scripts_var" is a variable referencing a Scripts object. |
| Type | Description |
| Script | Returns the newly created Script object. |
| Name | Type | Description |
| input | ScriptInput | A ScriptInput object which defines the required information to create a new script or add-in. It is created using the createNewScriptInput method. |