Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual
Page 413

14
PM Designer Operation Manual
14-4
CHAPTER 14 USING MACROS
14.2.3. Naming a macro
When adding a new macro for global using or for the panel application, you need to specify the macro name by the
following dialog.
When importing a file as the macro, the file name will be the macro name as default.
In each panel application, the local macro name has to be unique, but a local macro name can be the same as a global
macro name.
■ Renaming a macro from Project Manager:
1)
Locate the macro you would like to rename
2)
Right-click on the macro to display the macro item's popup menu; and then click Rename, the second menu item.
3)
The macro name will become selected, simply type the new name over the selected text, and then press the ENTER
key.
14.2.4. Deleting a macro
■ Deleting a macro from Project Manager tool widow:
1)
Locate the macro you would like to delete
2) Right-click on the macro to display the macro item's "popup menu"; and then click Delete, the third menu item.
■ Deleting a macro by menu
To delete a global macro, choose Project menu, click Global Macro sub-menu, and select the macro you want to delete on
the Delete sub-menu
To delete a local macro, choose Panel menu, click Macro sub-menu, and select the macro you want to delete on the
Delete sub-menu
Note: You can only select one macro to delete at one time. If the macro you want to delete is used by the application or
the object, you will be asked to confirm the deleting operation.
14.2.5. Saving and Exporting Macros
If you have macro you want to reuse in another application panel, you can export the macro as a .txt file or a .mcr file. You
may do the following:
1)
Locate the macro you would like to export
2)
Right-click on the macro to display the macro item's "popup menu"; and then click Export Macro..., the fourth menu
item.
3)
If you want to save a macro in a different folder, locate and open the folder first. then click Save.
Specify the macro name here. The
maximum length for a macro name is 256
characters. And the macro names are case
insensitive. For example, consider the
names TURN ON, turn on to be the same.