Action Editor

Event Tabs

There is one tab for every event that the screen supports. Each event represents something that can happen at run time. When an event is triggered, the actions on the corresponding tab will be performed.

Event Variables:

The variables that are automatically set whenever the current event is triggered.

Note: Event Variables are local to the current event.

Code Window

The area where you can either type in your actions, or add them through the action wizard.

Note: Once an action has been added to the code window, you can double-click it to show its properties in the Action Properties dialog. This feature can be enabled or disabled by clicking the Advanced button on the action editor or on the Script Editor page of the Preferences.

Quick Help:

When the cursor is on an action in the code window, its action definition will be displayed in this field.

Action Help

When the cursor is on an action in the code window, its online help will be opened.

Add Action

Adds a new action to the current event through the action wizard.

Add Code

Displays a variety of code templates you can add to the code window.

Edit

Edit the action's properties after it has been added to the code window. When the cursor is on an action in the code window, the Edit button will display its properties dialog where you can modify its settings.

Bookmarks

Create and manage bookmarks in the code window so you can easily jump to specific spots in your code.

Toggle Bookmark

Add or remove a bookmark from the current action script line. You can also access this menu item using Ctrl+F2.

Clear All

Remove all bookmarks from the current code window.

First

Jump to the first bookmarked action script line.

Previous

Jump to the previous bookmarked action script line. You can also access this menu item using Shift+F2.

Next

Jump to the next bookmarked action script line. You can also access this menu item using F2.

Last

Jump to the last bookmarked action script line.

Macros

Allows you to record and save keystrokes made in the action editor so they can be replayed later where the same text is required. Macro shortcut keys can be viewed and edited on the Keyboard tab of the Editor Settings dialog. The Editor Settings dialog can be accessed by selecting Tools > Editor Settings... or from the Advanced button.

Note: The macro feature will only record characters keyed directly into the action editor. It cannot recognize text added through the action wizard or autocomplete feature.

Record

Start recording a macro that can be played back at a later time. You can click the "End Recording" button on the Record Macro dialog to stop recording. To playback the recorded macro, you can select the Play option found underneath this menu option. You can also access this menu item using Ctrl+Shift+R.

Advanced

Advanced options that are available in the action editor:

Syntax Check

This option checks the current script to make sure it is syntactically correct.  It does not check for logical or other programming errors, simply syntax. You can also access this menu item using F12

Note: You can turn on automatic syntax checking from Edit > Preferences on the Script Editor page.

Double-click Edit

Allow double-clicking on actions in the code window to edit their properties (Properties dialog will be displayed).

Note: If Double-click Edit is unchecked, double-clicking any text in the action editor simply selects the text, as in most other text editors. This option can also be set in Edit > Preferences on the Script Editor page.

Show Whitespace

When selected, all spaces in the code window will be replaced visually with dots. When unselected, space characters are restored in the code view. This feature does not affect the functionality of the spaces in action script. It simply represents them in a visually different way.

Note: Blank lines are not considered white space unless there are space characters on those lines.

Import Registry Values...

Opens the Import Registry Key/Values dialog where you can import keys or values from the Registry on your development system.

Import .REG File...

Opens a file browse dialog where you can select a .REG file that you would like to recreate using TrueUpdate Registry actions.

Import

Imports the contents of a script file (*.lua) into the code window.

Export

Saves the current script in the code window as a script file (*.lua).

Print

Prints the action script currently in the code window. You can also access this menu item using Ctrl+P.

Editor Settings...

Opens the action editor's Editor Settings dialog where you can customize its settings. You can also access this menu item using Ctrl+Enter.