Script Central - Junction Actions Tab

For viewing and editing junction action scripts.  See also Script Central Tabs.

This tab shows a list of all junction actions on the layout.  If there is more than one action at the same junction, they are listed separately and given different id's.  When this tab is active, a junction on the layout is highlighted to match the selected item in the list.

List contents:

ID

Unique program-assigned id for each action.

Junction

ID of junction where action is attached.

Trigger Trigger type, direction, and identifier if any; as specified in Junction Action Editor.

First Line

First line of action script.

Actions:

Click list item

Selects action script and displays it in the text window.  The corresponding junction on the layout is highlighted.

Double-click row

Brings up Junction Action Editor for editing and viewing script.

Right-click row Brings up context menu, commands as listed below.

Text window

Text is editable.  Text is in code style: fixed-size font, no wrap.  Changes are saved on clicking OK or Apply or on changing tabs.

  

Context menu:

Edit in JA Editor

Brings up Junction Action Editor for editing and viewing script.

Delete

Deletes action and removes from the list.

Copy

Copies selected row(s) to Windows Clipboard as tab-delimited text

Select All

Selects all rows for delete or copy

Enabled Check to enable action, uncheck to disable.  When disabled, no cars or trains cause action to trigger.

Refresh

Rebuilds list; sometimes needed if changes have been made externally

Attach To Junction

Disconnects action from current junction, brings up Choose Junction dialog for choosing a new junction where action is to be connected