3.6.5.3 DocEnd
The DocEnd macro is triggered by closing the current document (project), either...
- when you exit Origin.
Exiting Origin by or
- issuing the command,
...triggers execution of the DocEnd macro.
- when a new project is opened.
The DocEnd macro is unique in that a statement for the DocEnd macro is contained in the file MACROS.CNF (found in the Origin software folder). MACROS.CNF is read when Origin starts. The definition for DocEnd (the default definition does nothing) can be commented out or modified as desired.