| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
At 8:25 P +0100 1/7/07, Axel Luttgens wrote: Well, the 2 second rule is not an absolute one... In this precise case, I introduced that delay in the calling script so as to allow sufficient time for Grog.app's dialog to dismiss (which I gave a 1 second delay in the "giving up after" argument). Now, as Luther has pointed, using the launch command from the calling script avoids to have Grog.app's run handler to be run at all. But the asumptions about the role/nature of Grog.app are then very different than the ones implied by your sample scripts. For example, if you want Grog.app to stay open for at least 10 seconds, its StartTime global must have been somehow initialized, for example by a double-click on its icon. Otherwise, each invocation of glog() from the calling script would result in launching Grog.app, executing its glog() handler, then quitting it; not a very efficient way to have Grog.app behaving as a fully fledged application as well as a script library. Anyway, in a whole, you allowed all of us to remember some fundations of AS! Thanks, Axel |
_______________________________________________ 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>) | |
| >Re: tell Grog to glog (From: Gil Dawson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.