Re: tell Grog to glog
Re: tell Grog to glog
- Subject: Re: tell Grog to glog
- From: Gil Dawson <email@hidden>
- Date: Sun, 7 Jan 2007 13:46:55 -0800
At 8:25 P +0100 1/7/07, Axel Luttgens wrote:
Sorry if my cosmetic changes somehow have hidden the important piece.
It works here because of the "ignoring application responses" block
in the calling script...
Ah, so! Now this begins to make sense. So the call to glog
triggered the run handler, which returned nothing. The parameter in
the call to glog was just lost, eh?
To make a model of these findings so I can remember it:
The first call to an unlaunched app will only run the run handler.
We must wait (2 seconds or so) until the app is finished launching
before we can address the app's other handlers.
I naively thought the first call could both launch the app AND run
its called handler. But no. That's not how it works.
OK. I've learned something. Thanks, Alex.
--Gil
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden