Wx3270/Help/MacroEditor

Description
The Macro Editor allows macros (sequences of actions) to be edited.



Name
At the top is the name of the macro. This may or may not be modifiable, depending on the context. (For example, when defining a macro entry from the macros window, you must choose a name for your macro.)

Macro text
Below that is a text box where you can edit the macro's contents. The macro consists of Category:wx3270 actions, using formal action syntax, one per line. Comment lines can be included; they begin with a  character.

Code snippets
Below the macro editing area are code snippets, which are shortcuts for inserting commonly-used actions into the macro.

The snippet labeled Script is special. It brings up a menu that allows the selection of various kinds of scripts to create:
 * Python 3 script
 * Creates a Python 3 script with example commands.


 * PowerShell script
 * Creates a PowerShell script with example commands.


 * VBScript
 * Creates a VBScript script with example commands.


 * JScript
 * Creates a JScript script with example commands.


 * Other
 * Inserts a generic Script action snippet.

Action buttons
At the bottom are a series of buttons to perform actions related to the script:
 * Edit @
 * If the cursor in the macro text box is over a Script action, pops up an editor on the script being invoked.


 * Save
 * Saves the new or modified macro.


 * Cancel
 * Abandons any edits made so far.


 * Help
 * Displays help for this window.