Home Forums General XMetaL Discussion on_application_run_once Reply To: on_application_run_once

Derek Read

Reply to: on_application_run_once

This is an undocumented event macro at this time, so the behaviour is subject to change in future.

At the moment the behaviour is for this event to run the first time the application is launched after installation. The basic idea behind it is to provide a means to allow you to perform one-time configuration changes to the system, perhaps by copying or modifying files using FSO or other.

The event writes the value on_application_run_once=false into the per-user xmetal6.ini file in the user's %appdata%softquadxmetal 6 folder. At next launch, XMetaL Author won't run the event macro if that setting is found.