A JScript command like this...
DOpus.Vars.Set("GVarName","GVarValue");
..sets a global variable that does not persist between Opus sessions.
Is there a way of making it persistent, similar to..
@set glob!:GVarName=GVarValue
Regards, AB
A JScript command like this...
DOpus.Vars.Set("GVarName","GVarValue");
..sets a global variable that does not persist between Opus sessions.
Is there a way of making it persistent, similar to..
@set glob!:GVarName=GVarValue
Regards, AB
Yes, you need to set the "persist" property of the variable itself to "true".
Thanks @tbone. So for anyone else who wants to do this, here is sample JS code..
DOpus.Vars.Set("GVarName","GVarValue");
DOpus.Vars("GVarName").persist = true;
Regards, AB