3.6.5 Special Event Driven Macros

Several macros are triggered by system events. These macros are typically not defined when Origin starts. Define them when you need code to run at a particular time.