Writing a Script File in STNext

  1. Click My Files, and then select Scripts.


  2. On the Scripts page, click the Create New button, and then under Editor, select Script.


  3. In the Create Script window, enter your script statements. Here, we've entered statements based on the example above.


  4. Click the Validate button to check the script for syntax errors. If there are any script errors, you will see a message under Validation with the line in question highlighted.


  5. An auto-generated name is applied to the script. If you wish to rename it, click the pencil icon, enter the new script name, and then click the check mark or press Enter.

     

  6. Click the Save button to save the script to My Files > Scripts. Clicking the Run button will run the script and save it to My Files.



Learn More

Script Language Components

Using Scripts for Queries

Importing a Script

Running a Script

Editing a Script File

Downloading a Script File

Renaming a Script File

Deleting Single and Multiple Script Files

Script File Folders