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:
OnActionis triggered when a corresponding menu is clicked.On_Application_Activateis triggered when HoTMetaL becomes active after loading it from disk or after running another application.On_Application_Deactivateis triggered when you run another application.On_Application_Openis triggered when you open HoTMetaL.On_Application_Closeis triggered when you close HoTMetaL.On_Before_Document_Saveis triggered when you save a document. The macro is run before the completion of the Save.On_Before_Document_SaveAsis triggered when you SaveAs a document. The macro is run before the completion of the SaveAs.On_Document_Activateis triggered when the document becomes active.On_Document_Deactivateis triggered when the document becomes inactive.On_Document_Open_Completeis triggered when the user opens a document and the open operation is done.On_Document_Closeis triggered when you close the document.On_Document_Saveis triggered when you Save the document.On_Document_SaveAsis triggered when you SaveAs the document.On_Update_UIis triggered when the UI is updated.
Produced by Yehuda Shiran and Tomer Shiran
Created: January 18, 2000
Revised: January 18, 2000
URL: http://www.webreference.com/js/column56/macros.html

Find a programming school near you