Adding a File to a Script

You can add a file that the script references to logically segment code for distinct purposes. For example, if your script requires 4000 lines of code, you might want to include only core lines of code in the Main window and create separate files for helper code. Helper code might include code that connects the main application to a database for data transfer purposes.

  1. To add a file to a script, perform one of the following steps:
    • Choose Insert > File.
    • Right-click in the Properties pane and then choose Add File.
    A new tab opens in the Code window.
  2. Add the code that you want to include in the file and then click Save.
  3. Click the Main tab and include a reference to the file.