Script Central - Settings Tab

For script-related actions and settings.  See also Script Central Tabs.

This tab is a standard dialog, not the list-text style of the others.  It has a set of buttons dealing with the Rewind Point, and these other items:

Trigger on Drag: if checked, means a junction action can be triggered by dragging an appropriate train across the junction by hand.  If unchecked, the train must be driven using the throttle in order for the action to trigger.  Default is OFF (unchecked), to prevent accidental triggerings as you drag trains around the layout.  For related info, see Working with Junction Actions and Junction Action Editor.

Text font size: size in points of the Courier font used in Script Central text windows, Script Editor, Junction Action Editor, and Schedule Window.  Default is 16.

Command MRU list: number of entries in the drop-down MRU list of the Script Command Prompt dialog.  If you reduce the size of the list, it will be truncated and older entries will be dropped.

The Rewind Point

A rewind point is a snapshot of train and switch positions.  If a rewind point has been saved, then after a session of moving trains around, you can click Rewind (on the script toolbar or menu) to put the trains and switches back where they started.  This is useful when you are developing or running scripts, since a script relies on trains being in certain locations when it starts up.

There is only a single rewind point associated with a layout, even if there are multiple scripts.  This can be set or cleared using buttons in this Settings tab.  If the rewind point is cleared, then it reverts to the initial train and switch positions as they were when the layout was opened.

Dialog Buttons:

Set

Save the current train and switch positions as the layout's rewind point.  This overwrites any previously-defined point.

Clear

Erase any saved rewind point, and replace it with the initial positions when the layout was opened.

Save

Save the current train and switch positions to a file, with extension .xml and "_situ" appended to the filename.

Load Load a saved situation and position the trains and switches accordingly.  This does not change the layout rewind point.