The following table describes the main script properties contained in the script declaration, which is part of a script package and is edited using the declaration pane in SwitchScripter.
Property |
Description |
|---|---|
Name |
The name of this script for identification to a user For scripted plug-ins, a tilde should separate the company name from the tool name (for example, "Adobe~Acrobat Distiller"); Switch will derive appropriate long and short versions from this name. |
Tooltip |
For scripted plug-ins, determines the tooltip shown for the icon in the elements pane |
Icon |
The icon to be displayed for a flow element associated with this script package; this must be a PNG image file (not interlaced) with a size of exactly 32x32 pixels in the RGB color space (with support for transparency). |
Password protected |
If set to yes, the script package is protected by a password; the password is asked when the script package is opened for viewing and editing in SwitchScripter; a script package can always be opened for execution by PowerSwitch, even if it is password protected See also password protection |
Password Verify password |
Defines the password for the script package if it is password protected |
Include JavaScript |
If set to yes, the script package includes a JavaScript program and the corresponding tab in the program pane is enabled |
Include VBScript |
If set to yes, the script package includes a VBScript program and the corresponding tab in the program pane is enabled |
Include AppleScript |
If set to yes, the script package includes an AppleScript program and the corresponding tab in the program pane is enabled |
Incoming connections |
If set to yes, the script supports incoming connections |
Require at least one |
If set to yes, the script requires at least one incoming connection |
Outgoing connections |
Defines to what extent the script supports outgoing connections: "No", "One", or "Unlimited" |
Require at least one |
If set to yes, the script requires at least one outgoing connection (for traffic-light connections: at least one outgoing connection that carries data or data with logs) |
Connection type |
The type of outgoing connections supported by the script, if there are any; choices are:
|
Include/exclude folder |
For outgoing filter connections, if set to yes, the standard include/exclude folder properties are automatically injected in the outgoing connections |
Data success Data warning Data error |
For outgoing traffic-light connections, defines which of the standard success, warning and error properties is injected in the outgoing "data" and "data with log" connections |
Log success Log warning Log error |
For outgoing traffic-light connections, defines which of the standard success, warning and error properties is injected in the outgoing "log" connections |
Execution mode |
The execution mode for this script; one of these choices:
|
Execution group |
The name of the execution group in which instances of this script reside; the precise interpretation depends on the selected execution mode:
|
Position in element pane |
For scripted plug-ins, determines the position of the icon in the elements pane; the value of the property has the following format:
Where:
|