1.1. Create a New C# or VB .NET Script
Procedure
- Select Project>Script Engine>Scripts in the Workbench left pane.
-
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. - Right-click Scripts.
- Select New on the Popup menu.
D - In the Workbench right pane.
- Right-click anywhere.
- 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 - Creates the script.
- Opens the script editor window for the selected script type.
Cancel Closes the Create Script dialog box without creating a script. - Right-click Scripts.
- Select New on the Popup menu.
- Right-click anywhere.
- Select New on the Popup menu.
- Creates the script.
- Opens the script editor window for the selected script type.