1.1. Create a New C# or VB .NET Script

Procedure

  1. Select Project>Script Engine>Scripts in the Workbench left pane.
  2. Do one of the following.
    A Click File>New>Object on the Workbench menu bar.
    B Click the New Object button on the Workbench toolbar.
    C In the Workbench left pane:
    Either Or
    Double click Scripts.
    1. Right-click Scripts.
    2. Select New on the Popup menu.
    D
    1. In the Workbench right pane.
    1. Right-click anywhere.
    2. Select New on the Popup menu.
    E Press Ctrl+N on the keyboard.

    A Create Script dialog box opens.

    Do the following.

    A File Name Enter a unique name to identify the script.
    B Check one of the following.
    Basic Script Opens CIMPLICITY Program Editor.
    Script file created * .bcl
    C# Opens CimScriptIDE window.
    Script file created *.cs.pscript
    Visual Basic.NET Opens CimScriptIDE window.
    Script file created *.vb.pscript
    C Click one of the buttons.
    Create
    1. Creates the script.
    2. Opens the script editor window for the selected script type.
    Cancel Closes the Create Script dialog box without creating a script.
  3. Right-click Scripts.
  4. Select New on the Popup menu.
  5. Right-click anywhere.
  6. Select New on the Popup menu.
  7. Creates the script.
  8. Opens the script editor window for the selected script type.