Hardware manual
Scriptor Impact Reference Guide
Datalogic Automation Inc. 4-116
Scriptor Editor Tab
You enter scriptor commands on this tab. See “Script Examples” on page 4-118.
Scriptor Commands
Error Handling
Scripting errors are displayed as pop-up dialogs during runtime. Command errors, such as not finding the
specified control or property, return a False boolean value to the script. It is the script author's responsibility
to handle these errors within the script logic.
boolean setProperty(String propertyPath, String value)
Property Name What it is
Exit Application
Upon Completion
If True, CPM exits when the script has completed executing. If False, the
Control Panel Application continues to run.
Run Automatically If True, the script is executed as soon as the Control Panel Application
enters Run mode. If False, the script executes when Run method is
called.
Run In Separate
Thread
If True, the control runs in a separate thread from CPM (this setting is
provided for backward compatibility)
If False, then the control runs in the main thread with CPM (this is the rec-
ommended setting for improved performance)
This property defaults to False since this setting results in improved per-
formance.
Suppress Error
Messages
If True, no script execution errors will displayed when the script executes.
Method Name What it does
Run Executes the script.
Event Name When it happens
Run Completed When all the script commands have been executed.
Click in this window,
then type the desired
Scriptor commands.