Hi @EstelleS -
Within any application script (Application-level or Module-level) you can access the Application Namespace with:
appNS = thisApplication<<Get Namespace;
With that, you should be able to explicitly set/get variable values at the Application scope.
Unscoped variables within a module script will only be visible within the given module by default. If you need to have one module access the variables within another module, then the first module would need to have a reference to the second. For example, you might have module1 create an instance of module2 with:
module2 << CreateInstance(thisModuleInstance);
Variables 'thisApplication' and 'thisModuleInstance' are automatic variables that refer to the Application and (current) Module Instance. Now, the module2 instance can access variables in the module1 instance by accessing the namespace for the module that was passed in:
OnModuleLoad({callingModule},
ns = callingModule << Get Namespace;
);
I hope that helps!
-Dan