The Run Script command is used to run Scripts you have already created, or create new ones. The Scripting Overview gives you a place to start if you need to understand more about scripting support in Pulsonix and what it can do for you.

Shortcuts

Default Keys: None

Default Menu: Tools

Command: Run Script

Locating this option

Available from: Tools menu > Run Script option

How to use the Run Script dialog

The left hand panel displays the paths you have defined in the Folders option, and the scripts available within them. Select a script from the list to run or edit.

Actions

Run - runs the selected script and exits the dialog

Test - runs the script without having to save it and close this dialog first.

New - displays the Edit Script dialog from which you can type in your own script.

Edit - allows you to edit an existing script to make modifications to it. This opens the Edit Script dialog.

Folders - this gives you a shortcut to the standard Folders dialog. From here you can add or remove folders in order to find scripts or refine your selection.

Running a Script from a Shortcut Key

As well as being able to assign the Run Script command to a shortcut key it is also possible to run a specific saved script from a chosen shortcut key.

To achieve this, it is first necessary to add the named script as a User Tool using the Tools tab in the Customise dialog. A quick way to access this is selecting Tools | User Tools | Add Tool….

Once defined as a user tool, the script can be assigned to a shortcut key in the normal way using the Keyboard tab in the Customise dialog and selecting User Tools from the Category drop-down list.

Running Python scripts

Python scripts can be run but require some additional ActiveX components to be installed. See the Running Python Scripts help page.

Running a script from the command line

Scripts can be run from the command line. This feature is references from the Running Scripts From Command Line help page.

Editing Scripts | Running Scripts From Command Line | Scripting Overview | Running Python Scripts | Scripting Reference