SetVar can only be written inside a hotkey definition or user-defined command.
To create a variable, SetVar must be executed by pressing a hotkey or calling a user-defined command.
Once it's created, a variable is global to all hotkeys and commands that execute on the PC where you created it.
Values are treated as text.
Names and values are case-insensitive.
Variable names can be used only with this command and If statements.
Variables get destroyed when you load a script.
For debugging purposes, you can display all existing variables with DisplayVars.
|