Function sciter::set_variable
source · [−]Expand description
Set a global variable by its path to all windows.
This variable will be accessible in all windows via globalThis[path]
or just path
.
Note that this call affects only new windows, so it’s preferred to call it before the main window creation.
See also per-window Window::set_variable
to assign a global to a single window only.