Specifications
DescriptionProperty
The name of the execution group in which instances of this script
reside; the precise interpretation depends on the selected execution
mode:
Execution group
• Serialized: determines the scope of serialization
• Concurrent: not used
• Persistent: unambiguously identifies the script implementation
If set to yes, additional performance tuning is enabled for the script
package. When using the script in Switch, an extra property “Idle
Enable performance tuning
after job (secs)” will be available, which can be used to fine-tune
the flow’s performance. If script execution mode is also set to
"Concurrent", another property, "Number of slots", will become
available.
When performance tuning is enabled, this property contains the
default number of seconds the script should remain idle after
Idle after job (secs)
processing a job. The user can override this value when designing
a flow.
The number of slots that can be used concurrently by the specific
flow element. Possible values are: "0" (unlimited), "Default" (value
Number of slots
from Preferences is used) or any number larger than 0. Note that
this property can be overridden by the value specified in Preferences
> "Concurrent external processes".
For scripted plug-ins, determines the position of the icon in the
elements pane; the value of the property has the following format:
Position in element pane
• <section>:<sort-key>
Where:
• <section> is the name of the elements pane section in which
the scripted package should appear: Basics, Tools,
Communication, Processing, Metadata, or Custom. If it is not one
of these, the section defaults to “Custom”.
• <sort-key> is a text string that determines the order in which
elements are listed within each section; they are sorted
alphabetically on the sort key.
Execution mode
Switch execution is inherently multi-threaded, so in principle all tasks can run in parallel. To
help reduce implementation complexities (both in the Switch framework and in a script),
concurrency is limited in a number of ways as explained in this topic.
Operating system scripting languages
Switch severely limits the concurrency of AppleScript and VBScript scripts (on Mac and Windows,
respectively): only a single AppleScript or VBScript entry point can be executing at any time. This
is due to an implementation limit which may be lifted in a future version. Thus the remainder
of this topic applies only to JavaScript scripts.
355
Enfocus Switch 10