• 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: Memory and idle applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory and idle applescript


  • Subject: Re: Memory and idle applescript
  • From: Jon Pugh <email@hidden>
  • Date: Tue, 19 Aug 2003 15:10:15 -0700

At 2:36 PM +0200 8/19/03, julifos wrote:
>I don't want sleep. My purpose is a stay-open app which will react only to
>the "open" event, but there is not idle handler.

No, you have an implicit idle handler that returns too short of a wait time. If you write a trivial one which returns a large number, you will suck less time.

on idle
return 10000 -- seconds
end

That shouldn't suck any time until you drop something on it.

Jon
_______________________________________________
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: Memory and idle applescript (From: julifos <email@hidden>)

  • Prev by Date: Recording
  • Next by Date: Re: Strip characters without recursive loop
  • Previous by thread: Re: Memory and idle applescript
  • Next by thread: Re: Memory and idle applescript
  • Index(es):
    • Date
    • Thread