TSL Automation Solutions Logo

Section 15.2.1 · Chapter 15: Using Macros

Creating Macros

■ Creating a new and blank native script

1) To create a global native script, use the [Add …] command on the Project -> Global Macros -> Native Scripts menu, or right-click the Global -> Global Macros -> Native Scripts node ( ) in the Project Manager tool window to bring out the pop-up menu and then use the [ Add Script ] command on the pop-up menu.

To create a local native script, use the [Add…] command on the Panel -> Macro -> Native Scripts menu, or right-click the panel application > Macros -> Native Scripts node ( ) in the Project Manager tool window to bring out the pop-up menu and then use the [ Add Script… ] command on the pop-up menu.

2) In the New Macro dialog box, type the name you want, and hit the ENTER key or click the OK button to validate your choice.

■ Importing an existing native script as a copy native script

1) To import a native script as a global native script, right-click the Global -> Global Macros->Native Scripts node ( ) in the Project Manager tool window to bring out the pop-up menu and then use the Import Script command on the pop-up menu.

To import a native script as a local native script, right-click the panel application Macros->Native Scripts node ( ) in the Project Manager tool window to bring out the pop-up menu and then use the Import Script command on the pop-up menu

2) Click the *.mcr or *.txt file you want to create a new native script from. If you want to open a native script that was saved in a different folder, locate and open the folder first.

3) Click Open.

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 15.2.1 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.