// Internal Origin Event Handlers
// To use the events below uncomment (remove ;) in the line
// ;OgsN = OEvents 
// in the [Config] section of Origin.ini. More than one event
// handler file may exist and name is not restricted to OEvents.OGS.

[BeforeUserCNF]
// This event is triggered before any user CNF file is executed.
// Execution of system CNF files takes place earlier
// so system.cnf, option.cnf, and orgsys.cnf are executed
// before this event is triggered.

[AfterUserCNF]
// This event is triggered after all user CNF files are executed.

[BeforeCompileSystem]
// This event is triggered before Origin begins start up compilation of system folder.

[AfterCompileSystem]
// This event is triggered after Origin finishes startup compilation of system folder.
// Use this event for additional customization of Origin that requires Origin C functions
// that are compiled on startup.
// %1 = 1 if compilation is successful otherwise %1 = 0.

[BeforeCompileProject]
// This event is triggered before Origin begins compilation of files attached to project

[AfterCompileProject]
// This event is triggered after Origin finishes startup compilation of compilation of files attached to project.
// %1 = 1 if compilation is successful otherwise %1 = 0.

[BeforeOpenDoc]
// This event is triggered before Origin project is opened.
// %1 = file path in quotes.

[AfterOpenDoc]
// This event is triggered after Origin project is opened.
// %1 = file path in quotes.

[BeforeCloseDoc]
// This event is triggered before project is closed.

[AfterCloseDoc]
// This event is triggered after project is closed.


[BeforeSaveDoc]
// This event is triggered before project is saved

[AfterSaveDoc]
// This event is triggered after project is saved

[OnExitOrigin]
// This event is triggered on exiting Origin after [AfterCloseDoc].