• 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: "idle" has different effect in X vs 9?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "idle" has different effect in X vs 9?


  • Subject: Re: "idle" has different effect in X vs 9?
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 08 May 2003 14:35:29 -0400

on 03-05-08 1:16 PM, Charles Arthur at email@hidden wrote:

> Interestingly... Bill wrote:
>
>> ..That's the end of your script; it sits
>> there doing nothing until you Quit it from the Finder (assuming you saved it
>> as "run only").
>
> It's saved as a script, but it always quits (unless it throws a timeout
> error, which it does in 9 from time to time.)

I didn't mean to type "run only," but "stay open." The AppleScript 'idle'
handler only works in a script that is saved as a "stay open" application or
applet. I you run it as a non-stay open application or a simple compiled
script, it will quit automatically when the run handler is finished, and it
will never receive any 'idle' events.

But I think 'delay' is the way to go for your task.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: "idle" has different effect in X vs 9? (From: Charles Arthur <email@hidden>)

  • Prev by Date: Re: Order of operations (was: Eigenvalues &/or eigenvectors, anyone?)
  • Next by Date: Re: "idle" has different effect in X vs 9?
  • Previous by thread: Re: Eudora and Junk (was Re: "idle"...)
  • Next by thread: Re: "idle" has different effect in X vs 9?
  • Index(es):
    • Date
    • Thread