Using JavaScript in HoTMetaL PRO 6.0: Pre-Defined Macros
Using JavaScript in HoTMetaL PRO 6.0
Pre-Defined Macros
HoTMetaL PRO 6.0 defines several intrinsic events that trigger corresponding macros. They are:
OnAction
is triggered when a corresponding menu is clicked.On_Application_Activate
is triggered when HoTMetaL becomes active after loading it from disk or after running another application.On_Application_Deactivate
is triggered when you run another application.On_Application_Open
is triggered when you open HoTMetaL.On_Application_Close
is triggered when you close HoTMetaL.On_Before_Document_Save
is triggered when you save a document. The macro is run before the completion of the Save.On_Before_Document_SaveAs
is triggered when you SaveAs a document. The macro is run before the completion of the SaveAs.On_Document_Activate
is triggered when the document becomes active.On_Document_Deactivate
is triggered when the document becomes inactive.On_Document_Open_Complete
is triggered when the user opens a document and the open operation is done.On_Document_Close
is triggered when you close the document.On_Document_Save
is triggered when you Save the document.On_Document_SaveAs
is triggered when you SaveAs the document.On_Update_UI
is triggered when the UI is updated.
Produced by Yehuda Shiran and Tomer Shiran
Created: January 18, 2000
Revised: January 18, 2000
URL: https://www.webreference.com/js/column56/macros.html