Macros provide a tool for extending the functionality of iSeries Access. These prewritten scripts can be simple or complex. Assign macros to a key through keyboard mapping or add them to the pop-up keypad. To create a Macro click the Start keystroke recording icon shown in Figure 12.23, which displays the wizard shown in Figure 12.24.
Figure 12.23: Start and stop keystroke recording icon.
Figure 12.24: Record keystrokes.
Enter the name of the macro file to save the keystrokes under. Select the format of the file, either VB or Macro, and then click OK. Whatever keystrokes are typed are recorded into the macro file. Once all the desired keystrokes are entered, click the Stop Keystroke Recording icon. To start or play an icon, use the macros shown in Figure 12.25.
Figure 12.25: Start Macro/Script icon.
For more information on Macros, check the help text or the IBM information center at http://www.publib.boulder.ibm.com/html/as400/infocenter.html.