Overview: Express Terminal Macros

Java and ActiveX clients provide a macro creation tool within the client, but Express terminals need to stay small, so this feature is left on the server. EXTRA! Terminal Viewers includes a Viewer Application Programming Interface (API). Using this API, you can create JavaScript macros for use with 3270, 5250, or VT Express Terminal Viewers.

The complexity of the JavaScript macros that you write will depend on what you want the macros to accomplish. For example, a simple macro could log a user on to the server, while a complex macro could populate a single field by pulling information from different fields on different pages. For information about the API, refer to the Viewer API, Overview.

Once you have created the macro, you must publish it to MCS. Once you have published the macro, you can add it to a keystroke action, and map that action to a key on a keyboard map. Once you assign the keyboard map to a configuration, users can then run the macro by pressing the appropriate key. Once you've created a macro, you must publish it to MCS to make it available to users. Once a macro has been published, you can view or delete it in the Macro properties for a configuration, but you cannot change it. To change a macro, publish a modified version.

Related Topics
Bullet Express Terminal Viewers, Overview
Bullet Viewer API, Overview
Bullet Publishing Express Terminal Macros to MCS
Bullet Creating an Express Terminal Keystroke Action
Bullet Creating an Express Terminal Keyboard Map
Bullet Assigning a Keyboard Map to a Configuration