Philip Nye wrote: > Is there a way to have a macro run automatically when a document of the > appropriate type is loaded?
Not yet. This feature request has already been recorded in the User's Wish List (http://www.xmlmind.com/xmleditor/wish_list.html): --- Support of commands, generally macro-commands, which are automatically executed when a document is opened or saved. Writing such macro-commands would be much easier than programming a DocumentHook (http://www.xmlmind.com/xmleditor/_distrib/docs/dev/ar01s09.html) in JavaTM. It would be useful if there were two macros associated with each operation: one to be executed before the open/save operation, and one after. In the case of a save operation, for example, the ``before'' macro would have access to XXE's internal functions for manipulating the document, while the ``after'' macro would be able to carry out post processing on the saved document (initiate XSL transformations, execute perl scripts, etc.). ---

