Script Window.
This window is used for automate the operation of ME'scope. All of the commands in a Script window are executed in sequence when the Script is run.
A Script is run either by executing a command from its Run menu, or by pressing a Hotkey that is assigned to the Script.
All of the commands in ME'scope can be added to a Script window and executed automatically. Some ME'scope windows also have a Script menu which contains special Script commands.
A Script window is divided into two spreadsheets, separated by a blue splitter bar.
Drag the blue splitter bar in the window to make either spreadsheet larger
Execute Display | Split to change the spreadsheet layout between upper-lower and side-by-side
The Commands spreadsheet is (above or left of) the blue splitter bar.
Each row in the Commands spreadsheet contains an ME'scope command (also called a Step)
Each Step executes a Target Window Command in a Target Window in the currently open Project
The Parameters spreadsheet is (below or right of) the blue splitter bar.
If a command requires parameters, they are entering into the Parameters spreadsheet
Menu commands are ordered by command menu (from left to right), and then by the commands in each menu (from top to bottom).
Each menu command is executed by choosing it from its command menu, or by clicking on its Tool if it is on a Toolbar
When a Script is run, the Steps in the Commands spreadsheet are executed in sequence, from top to bottom
Each Step executes a command in its Target Window, which must be one of the windows in the currently open Project
Spreadsheet columns can be re-ordered by dragging and dropping them into a new position.
Selected spreadsheet rows can be moved by executing Move Selected Steps Up or Down
The Commands spreadsheet contains the following columns;
The name of the ME'scope window where the current Step will be executed.
Double click on this column and choose a Target Window from the drop down list of available windows.
Each Target Window must exist in the currently open Project. If a new Window is created by a Script Step, commands in the new Window can be executed in Steps that follow the creation of the new Window.
This column contains the command to be executed in the Target Window of the current Step.
After a Target Window is chosen in the Target Window Column, double click in this column and choose a command from the command menu
Used for selecting a Step. Selected steps can be duplicated, cut, or copied to the Step paste buffer, deleted, and pasted into an Script window from the Step paste buffer
Click on a Select Step button to select (green) or un-select (gray) the Step
Hold down the Ctrl key and click on a Select Step button to toggle its selection (select or un-select it)
To select a sequence of multiple Steps,
Click on the Select Step button on the first Step to select it
Hold down the Shift key and click on the last Step in the sequence to select all of the Steps between the first & last steps
Used to execute (if Yes), or skip over (if No) a Step.
Used for delaying the Step execution after a Step is executed.
The amount of delay (in seconds) is entered on the Delay tab in the File | Script window Options box.
If Yes is chosen in this column, Step execution will be delayed (in seconds) after the Step has been executed and before the next Step is executed.
Used for labeling a Step. Step Labels can be used as GoTo parameters in certain Script commands.
Used during execution of a Script to open a dialog box for entering parameters for the command in the current Step.
If Yes, a dialog box will open for selecting or entering the parameters required by the command in the current Step.
If No, the parameters required by the command must be entered in the Parameters spreadsheet.
Each row in the Parameters spreadsheet includes the following columns;
A name for a Script command parameter.
A value for the command parameter.
Additional commands are provided in the Script menu of each ME'scope window
These extra Script commands are documented in each ME'scope window command chapter.
Each Script command can be executed in the same manner as any other ME'scope command