Creating a Macro

You can create a macro manually or by recording some of your interactions with the host system, such as your logon procedure.

To create a macro manually:
  1. Macro/Script from the Appearance menu.
  2. When the Macro/Script Setup window appears, select Customize.
  3. When the Customize Macro/Script window appears, select File, then New, then Macro, and edit the macro. You can type statements directly or select functions, characters, or even other macros, from the list of Key Actions in the Select a Key-Action subpanel.

    Refer to the online help for detailed information.

  4. Click File, then Save to save the macro file.
Note:
  1. Macros that are converted to XML are intended for use in Host On-Demand and will not function in Personal Communications emulation sessions. Use the HOD Macro Manager to import a converted Personal Communications macro into HOD. These converted macros will not appear in the list of available Personal Communications macros.
  2. Arabic code page conversion is performed when an XML/VBScript macro is created, so that the Arabic characters in the macro are displayed properly. When recording the macro, the code page conversion is as follows:
    • 3270/5250 sessions: 1008 (Arabic font code page) to 1256
    • VT sessions: 1089 to 1256
    When playing the macro, the code page conversion is as follows:
    • 3270/5250 sessions: 1256 to 1008
    • VT sessions: 1256 to 1089