SwitchScripter Toolbar



The toolbar offers a number of tool buttons for frequently used operations (all of which can be accessed via menu items as well).

File

Tool

Description

Create new

Create a new empty script package

Open

Open an existing script package

Save

Save the script package being edited.

View

Tool

Description

Declaration/Fixture pane

Show the Declaration pane or the Fixture pane; toggle between these panes

Properties pane

Show or hide the Properties pane

Messages pane

Show or hide the Messages pane

Edit

Tool

Description

Undo

Undo the most recent text editing operation in the Program pane (supports multipleundo)

Redo

Redo the most recently undone text editing operation in the Program pane

Copy

Copy the selected text in the Program pane to the clipboard

Paste

Paste the clipboard's text contents in the Program pane

Delete

Delete the selected text from the Program pane

Test

Tool

Description

Select entry point

Select the entry point that will be invoked when the "Invoke entry point" button is pressed

The drop-down menu offers a list of all entry points supported by the Switch scripting API; entry points that are not present in the currently visible script program (Program pane) are preceded by a red "unavailable" icon

The menu item "script expression" is special in the sense that it indicates the main script body rather than a specific entry point; it is used for testing script expressions

Invoke entry point

Invoke the selected entry point in the currently visible script program (Program pane), in the context of the text fixture; progress is logged in the Messages pane

This button is enabled only if the selected entry point is present in the currently visible script program, if the Fixture pane is visible, and (for evaluating script expressions and for entry points that take a job argument) if a job is selected in the Fixture pane

Abort

Abort script execution