Re: InDesign CS3 | afterOpen event listener issue
Re: InDesign CS3 | afterOpen event listener issue
- Subject: Re: InDesign CS3 | afterOpen event listener issue
- From: Shane Stanley <email@hidden>
- Date: Fri, 04 Jul 2008 22:59:09 +1000
- Thread-topic: InDesign CS3 | afterOpen event listener issue
On 4/7/08 10:46 PM, "demski" <email@hidden> wrote:
> For better understanding here my example, that doesn't work:
The problem is with "active document"; if you use "document 1" instead, your
script should work fine. I'm not sure why (although "active" document won't
work in InDesign Server, either).
Also, you don't need all that "main(evt)" and "on main(invoker)" stuff --
just write it like a normal script (and you can save it as compiled, not
just as text). If you want to know something about the event that called
your script, just use evt as a variable; the info will get put into it
automagically.
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden