• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Application responses, Timeouts, Try statements, Activate - how do they really work? (From: Philip Aker <email@hidden>)

  • Prev by Date: You want crazy? I got crazy.
  • Next by Date: Re: [Slightly OT] Get Finder comments using Shell Script
  • Previous by thread: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
  • Next by thread: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
  • Index(es):
    • Date
    • Thread