Velocity - How to link a script to the session, a screen, or a field

Version 3

    Environment:

    Velocity Console 1.2.104

     

    Overview:

    This article will cover the following:

    • How to link a script to the entire session (meaning the script is running at all times)
    • How to link a script to a particular screen (meaning the script will only run when on that screen)
    • How to link a script to a particular field (meaning the script will only run when the cursor is in a specific field)

     

    How to link a script to the entire session (meaning the script is running at all times)

    1. Go to the Scripts page
    2. Check the box next to your script
    3. Press the Link button in the bottom middle of the console
    4. An input box will appear with session in it
    5. Press OK

     

    How to link a script to a particular screen (meaning the script will only run when on that screen)

    Before you begin this step, it is best to know the name of the screen you want to link. (See the video above for more details)

    1. Go to the scripts page
    2. Check the box next to your script
    3. Press the Link button next to your script
    4. When the input box appears, change session to @[NameOfScreen]
      Note: the screen name is case sensitive
    5. Press OK

     

    How to link a script to a particular field (meaning the script will only run when the cursor is in a specific field)

     

    Before you begin this step, it is best to copy the name of the scope for your field to your clipboard.(For Example @T31:added_636230426971376242)

    1. Go to the scripts page
    2. Check the box next to your script
    3. Press the Link button next to your script
    4. When the input box appears, change session to @[NameOfScreen]:[ComponentID]
      Note: the screen name is case sensitive
    5. Press OK