Using a Startup Macro

By assigning a macro to a session, you can automatically run that macro whenever you open the session. For example, you can assign macro that automates logging on to your host and opening a host application. Another good choice is a macro that performs a batch operation. For example, you can create a startup macro that logs on to the host, uploads a PC file, then logs off all with little to no user interaction.

You can use the Settings Macro page to specify the name of a macro file that you want to execute at startup.

To assign a startup macro to a session

  1. From the Edit menu, choose Settings.

  2. Select the Macro category.

    The Macro General page is displayed.

  3. In the File Name text box, delete the name of the macro file.

  4. Choose OK.

To select a macro file to run at startup

  1. From the Options menu, choose Settings.

  2. Choose the Macro category.

  3. In the Startup Macro File box, either type the path and name of the macro file or choose the Browse button and select the macro file you want to run.

  4. Choose OK.

To assign a macro to a host screen

  1. From the Tools menu, select Record Pages.

    You are now in Record Pages mode. Any page that you move to will be recorded.

    If the host screen page that you want to add a macro to is already recorded, skip this step and the next step.

  2. Enter a Page Name for the host screen, or leave the name as the default, and select the Stop button.

    Record Pages mode is stopped.

  3. From the Tools menu, select Page Settings.

    The Page Settings dialog box opens, with all recorded pages for this session listed in their groups on the left.

  4. Select the Page Name from the list and choose the Settings tab.

  5. Under the Available Settings list, open the folder labeled Macros.

  6. Highlight the desired Macro and choose the Add button to add the macro to the host screen.

  7. Choose OK to save your changes.

    Every time you access the recorded page regardless of navigation method the macro you specify will execute.