Unload

Unload

You can implement a handler named "Unload" in your MWScript script.
MoneyWorks will send the Unload message when your script is about to be unloaded. This typically happens at logout/close or when the script is deactivated in the script editor.

Example

on Unload
    // save persistent data or other cleanup
end
Posted in Handlers | Comments Off on Unload