Re: InDesign CS3 | afterOpen event listener issue
Re: InDesign CS3 | afterOpen event listener issue
- Subject: Re: InDesign CS3 | afterOpen event listener issue
- From: demski <email@hidden>
- Date: Fri, 4 Jul 2008 15:11:01 +0200
thnxs again,
you are so right!
Thanks a lot, everything works fine! I can proceed and get happy!
Am 04.07.2008 um 14:59 schrieb Shane Stanley:
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 (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
mit besten Grüssen
Kind regards
demski
die Anderen · digitale mediendienstleistungen
Bellealliancestrasse 58 b
20259 Hamburg
fon +49 (0) 40 41 26 61 81
mob +49 (0) 172 40 70 319
Hinterhof der Firma Hertz & Selck
_______________________________________________
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