Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tell Grog to glog



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >RE: AS and Unicode characters (From: KOENIG Yvan <email@hidden>)
 >Re: AS and Unicode characters (From: "Mark J. Reed" <email@hidden>)
 >Re: AS and Unicode characters (From: KOENIG Yvan <email@hidden>)
 >tell Grog to glog (From: Gil Dawson <email@hidden>)
 >Re: tell Grog to glog (From: Axel Luttgens <email@hidden>)
 >Re: tell Grog to glog (From: Gil Dawson <email@hidden>)
 >Re: tell Grog to glog (From: Axel Luttgens <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.