| || |
internal user-defined environmnet variable
In an action, i am using a function (from .vbs library), and in that function I am assigning value like below--
I am calling this function in my Action and its working fine.
But, once it come out of this function, I am not able to access this variable, it says "Object Required."
what am I missing??
looks like this variable is having local scope only (within function)--
If you loading function file using Associate libraries then your environment variable will be available across other action but if you load your function file at run time using LoadFunctionLibrary or ExecuteFile method , then variable will be available at local scope.
Variable will be available after function call. It will work in both cases, Executefile or associate libarary.
Please let me know if you are still getting error.