General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Events in macros
-
Anonymous November 23, 2010 at 7:17 am
Events in macros
November 23, 2010 at 7:17 amParticipants 0Replies 1Last Activity 12 years, 4 months agoXMetal v.6
I've put mcr file to “C:Program FilesXMetaL 6.0AuthorStartUp” and added macro “On_Document_Close”.
Why is the On_Document_Close event activated only once when I close the latest opened document? What about other opened documents? How can I get the Document Close event for each document?Derek Read November 23, 2010 at 10:27 pm
Reply to: Events in macros
November 23, 2010 at 10:27 pmThis event will work for document-level customizations. It will not work as you have tried, which is an application-level customization (where it is designed to be ignored).
If you move your script into your document-level customization (that would be inside
.mcr or.mcr ) then it should function. Similar events are also document-level only (On_Document_Open_Complete, On_Document_Save, etc).If you feel you need to do something at the application-level (for all documents regardless of schema) perhaps you could explain what you need to do so we can suggest a solution if there is one. If this isĀ complex, requires you to share files, or you otherwise do not wish to discuss this on the forum feel free to submit a support case (or if you are a partner, to contact partner support).
-
AuthorPosts
- You must be logged in to reply to this topic.