Hi. I’m new in AppleScript so I have very large gaps in knowledge i that topic. My task is write a macro which will make some action when user pushes print or save button. On Windows ms word has many events, which can be caught by vba macro. On os x I didn’t find any equivalents. Have you any ideas?
Thanks in advance.
Which version of Word are you using. In Office for Mac 2004 and 2011, the BeforePrint event is avaliable via VBA. You need to use AppleScript only if you are using Office 2008.
Thanks for an answer. I have to support as many word version as I can, so my task is not quite simple.
Next thing, I don’t think that there is before print event in vba in word 2011 http://mac2.microsoft.com/vb/1033/default.aspx?src=wd
So I was thinking that AppleScript macro would be backwards compatible with older version of ms Word.
Sorry, I was thinking Excel not Word.
I know of nothing like a BeforePrint event in Apple Script.