The Script Controller

From STX Wiki
Jump to navigationJump to search

Ws sc.png

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 STx macro shell.

Hiding and showing Script Controller

To hide or show the Script Controller, use 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.
  • Press the Resource script run.png button, choose the menu item Scripts > Run or just press enter in the Arguments combobox.

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 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 STx shell.

The Console can

The Console can not

Console shortcuts


The Console was added to STx in version 3.9. It is currently in it's baby shoes, so please be nice to it, and report any misbehaviour.

Navigation menu

Personal tools