Go to documentation repository
The Itv_var method sets and returns the values of global variables.
Method call syntaxSyntax for method invocation:
Code Block | ||
---|---|---|
| ||
function Itv_var (globalvar : String) : String |
Method arguments:
...
...
...
Info | ||
---|---|---|
| ||
Global variables are stored in the Windows registry to maintain their values after Windows restart. All global variables are stored in the registry |
...
branch HKEY_USERS\S-1-5-21-…\Software\VMSScript\VMSSCRIPT and HKEY_CURRENT_USER\Software\VMSScript\VMSSCRIPT. To access a global variable directly from the registry, search the registry for it by its name. |
Usage examples
Problem. When Macro 1 startsExample. On macro 1, save the value of the bright parameter of Camera camera 10 to the cam10bright global variable. When Macro On macro 2 starts, set the bright parameter of Cameras the cameras 1 to 4 to the value of the cam10bright global variable.
...