X-Pert Graphics provides an additional way to assign scripts to certain events. If you want a certain script, created either via the Command Script Task, or by the Program Script Task to be executed when you load, unload, start, or stop your project, simply save the corresponding script with one of the following names:
“OnProjectLoad” –this script will be executed right after a project is loaded;
“OnProjectUnload” –this script will be executed right before unloading a project;
“OnProjectStart” –this script will be executed right before starting a project;
“OnProjectStop” –this script will be executed before stopping project.
NOTE: If you have more than one script, bearing one of the above listed names, X-Pert Graphics will only execute the first one from the list, i.e., the oldest one.