The Script Controller
The Script Controller provides a convenient way to run scripts from the Workspace. You can also open the Console, a command line interface to an S_TOOLS-STx macro shell.
Contents
Hiding and showing Script Controller
Blend the Script Controller in and out with the Workspace menu item Scripts > Show Scripts.
Creating a new script
You can create new script in one of the following ways:
Running a script
To run a script from the Script Controller, do the following:
- Select a Script File by clicking on the Script File button and selecting a script from disk.
- Choose the Macro to be run from those available in the Macro combobox.
- Add any arguments the selected macro requires to Arguments.
You can also store scripts and their arguments in the Application & Setup Tree under the entry Scripts.
Debugging a script
Check the Debug checkbox and when you run the script, the S_TOOLS-STx debugger automatically opens.
Command History
A history of arguments passed to the script is stored and can be retrieved by selecting an entry from the Arguments combobox.
The Console
If you press the Console button, the Console application is started. The Console is a command line interface to an S_TOOLS-STx shell.
The Console can
The Console can not
Console shortcuts
The Console was added to S_TOOLS-STx in version 3.9. It is currently in it's baby shoes, so please be nice to it, and report any misbehaviour.