The special macro On_Application_Open is called when HoTMetaL PRO starts up, but before any documents are opened. One use for this macro is to call the Document.DisablePlainTextView method.
The special macro On_Application_Close is called just before HoTMetaL PRO closes down.
On_Application_Open and On_Application_Close should be defined in the default HoTMetaL PRO macros file (Macros/hotmetal.mcr).
Copyright © SoftQuad Software Inc. 1999