3.1.1. Open the CIMPLICITY Program Editor

About this task

Buttons on the Scripts tab enable you to open the CIMPLICITY Program Editor to create a new or modify an existing script.

  • New script.
  • Existing script.
  • Duplicate script.
Note: All scripts that are listed for a class on the Scripts tab and in the Workbench Basic Control Engine>Scripts right pane will be included in the class if the class is exported/imported to another project. They are listed even if you cancelled creating them and/or did not compile them. You can delete any action by selecting an ID and clicking Delete.

New Script

Procedure

  1. Click New on the Scripts tab in the Class dialog box.

    The New Script Name dialog box displays.

  2. Enter a unique name in the Script field.

    A Script name is

    • Is up to 15 characters.
    • Can have alphanumeric characters.
    • Can have underscores.
    • Cannot have spaces.
  3. Click OK.

    Result: A blank CIMPLICITY Program Editor window opens.

    Existing Script Properties

  4. Select an existing script.
  5. Click Properties.

    Result: The CIMPLICITY Program Editor window with the existing script opens.

    Duplicate Script

  6. Select an existing script.
  7. Click Duplicate.

    A New Script Name dialog box opens.

  8. Enter a unique name for the script that adheres to the script ID requirements.
  9. Click OK.

Results

The duplicate script is added to the list on the Scripts tab.