Running macros from within macros

You can create small macros that perform a single operation, and then call them from within a larger macro. This example shows how to add the h400_prefs macro and the iniblock macro to the pmuser macro.

  1. From the pmuser macro context menu, select Edit.
  2. Scroll to the bottom of the file, and add the following lines:

    macro h400_prefs

    macro iniblock

    If you precede a line with two forward slash characters (//), it is treated as a comment, and is not executed.

  3. Save and close pmuser.mac.
  4. Exit and restart PowerMill to check that the settings from the pmuser macro are activated.