Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
- Subject: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
- From: Richard Rönnbäck <email@hidden>
- Date: Thu, 13 Dec 2007 08:16:58 +0100
- Thread-topic: Application responses, Timeouts, Try statements, Activate - how do they really work?
Title: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
Philip,
I tried that as well, but as far as I can tell it makes absolutely no difference. It is kind of hard to track as the activate command works as it should in the vast majority of cases, it is only on rare occasions it fails, but those are enough to bring the script down.
Thanks
// Richard
Från: Philip Aker <email@hidden>
Datum: Tue, 11 Dec 2007 00:17:33 -0800
Till: Richard Rönnbäck <email@hidden>
Kopia: Applescript Users <email@hidden>
Ämne: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
On Dec 10, 2007, at 11:01 PM, Richard Rönnbäck wrote:
on idle
set myGaveUp to false
try
activate
set myGaveUp to gave up of (display dialog "some text" giving up after 5)
end try
--the useful stuff goes here
return 5
end idle
Greetings Richard,
What happens if you make this miniscule amendment to your idle handler:
tell me to activate
?
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
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