Recording macros

The Reflection for the Web macro recorder makes it easy to automate repetitive tasks. You can record macros in the Session Manager, and you can record them in end user sessions if it is enabled in the session profile.

NOTE:Automated sign-on macros, such as single sign-on macros, allow users to log on to hosts without entering their usernames and passwords. This type of macro recording is initiated from the Session Setup dialog box within the emulator and has a different set of options and requirements than those described below.

To create a macro in a green screen terminal session

  1. Choose Macro > Start Recording.

  2. Perform the actions you want to record, and then choose Macro > Stop Recording.

  3. Name the macro in the Save Macro dialog box and click Save.

To run the macro, choose Macro > Playback, click on the macro name, and click Play.

The Save Macro dialog box also allows you to set options for the macro. You can enter a description that will appear in the Playback dialog box; record the initial cursor position for the macro; and set the macro to run at startup. A table shows the individual steps in the macro, and for each step you can choose whether to automatically use the response you gave when you recorded the macro or to prompt for the response when the macro is run.

Macros recorded in the Manage Sessions panel are saved on the server. All macros, including startup macros, are available to the end user in the Play Macro dialog box if this capability is not restricted by the session profile. Even if user access to macros is restricted, however, a macro designated as a startup macro still plays back when the session starts.

Macros recorded by end users are stored in a user-specific directory on the local machine, but they can be exported and used in other sessions of the same type.