Jump to content
  • 3.4 - Simple Script - Store Variable

    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.

     

    pv4.png

     

    pv5.png

     

     

    The script creates a variable called Welcome for the current script user (Default Scope: User) and stores the name of a SwyxWare default announcement into it.

     

    To install this script generate a new GSE rule, via the menu File | Import... select the file Store.rse, save the rule, close the GSE and make sure the rule is activated to give it a try.

     

    The next example will read this persistent value and announce it.

     

     


    Tom Wellige
     Share


     Share




×
×
  • 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.