Script-Based Searching

  • Script-Based Searching Overview

    STN scripting is a mini programming language used to write a repeatable and adaptable series of commands and statements. Scripts can be...

  • Importing a Script

    STNext enables you to import a .txt, .sc, .scb, .data script file in three ways: Session window: Click the Import button under Scripts...

  • Creating a Script

    You may write a script directly in STNext or create a search script from an imported list of terms. Writing a Script File in STNext Cl...

  • Running a Script

    After you've imported a script, STNext enables you to run it in two ways: Clicking the Run button under Scripts > Recent Scripts in th...

  • Script Language Components

    Script language is composed of "commands" and "values." Commands are words that have special meaning in script language. Values are pie...

  • Script Commands and Statements

    Some of the commands used in the STN script statements are listed below in alphabetical order: Assignment: Assigns a value to a varia...

  • Script Examples

    Basic Search with Synonyms: Save variations in search terms as scripts. Search with Truncated Synonyms in Specific Fields: Retrieve sea...

  • Script File Validation Warnings

    When a script file is imported or uploaded and has one or more of the below warning types, a "Validation Errors" message displays and t...

  • Script File Validation Errors

    When a script file is imported or uploaded and has one or more of the below error types, a "Validation Errors" message displays and the...

  • Truncation Variables

    Use the symbols below to allow for variability in your search terms. ? Usage: Any number of characters to the right of the term Used o...

  • Predefined STN Variables

    _$CENV the current STN file environment (a list of STN files in capital letters) _$ENUM the current E-number _$LANS number of an...