Create a script

  1. In the lower Navigator pane, right-click and then click New > Script.
  2. Enter a name for the new script and click OK.
  3. In the Object Inspector pane, click the Context property and then select the context for your script.

    The context determines which objects you can assign to the script and which properties and functions are available. For more information, see Scripting contexts.

  4. In the editor window, type the script.
  5. On the Script Note Editor Tools tab, in the Control section, click Compile compile button.

    Information about the compilation result appears in the Output pane.