Jump to content
  • Usage

    5 pages in this category

    1. 3.1 - Create a persistent variable

      VBScript   To be able to use persistent variables you need to add one Run GSE Action block into your script, calling the PersistentVariable action. It is recommended to place this block right after the Start block.           If you have installed the Persistent Variables extension as recommended you don't need to set any of the properties of the GSE action. Otherwise you should refer to:6.3 - Use SQL Server on different machine, 6.4 - Use data
      • 571 views
    2. 3.2 - Store a value

      VBScript   As already mentioned using persistent variables is very straight forward, just like you use common VBScript variables.   The only difference is, that the value you put into a persistent variable will automatically be store into the database.   Dim Announcement Set Announcement = new PersistentVariable Announcement.Name = "Welcome" Announcement.Value = "Default Welcome.wav"   The content you want to store into a persistent variable needs to be p
      • 381 views
    3. 3.3 - Retrieve a value

      VBScript   Retrieving a persistent variable like storing it very straight forward, just like common VBScript variables.   The only difference is, that the value you read from the variable will be taken from the database in that moment.   Dim Announcement Set Announcement = new PersistentVariable Announcement.Name = "Welcome" Announcement.Default = "Beep.wav" PlaySound Announcement.Value   Before you read the content from the persistent variable you s
      • 320 views
    4. 3.4 - Simple Script - Store Variable

      VBScript   Within the download package of this project you will find an rse folder. This folder includes the file Store.rse. This is a small example script to demonstrate the usage of persistent variables. It shows how to store a value persistently into the scope of the current user or group.         The script creates a variable with the Name "Welcome".    If the script runs for a user, the variable will only be visible/accessible for th
      • 570 views
    5. 3.5 - Simple Script - Retrieve Variable

      VBScript   Within the download package of this project you will find an rse folder. This folder includes the file Retrieve.rse. This is a small example script to demonstrate the usage of persistent variables. It shows how to retrieve a persistently stored value from the scope of the current useror group.           The script reads a persistent variable called Welcome and uses a Play Announcement block to announce the current value (which
      • 308 views
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.