• 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: Newbie Question - Recommended method of idling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question - Recommended method of idling?


  • Subject: Re: Newbie Question - Recommended method of idling?
  • From: Simon Brown <email@hidden>
  • Date: Fri, 07 Feb 2003 13:34:49 +0000

Thanks for that Ivan. I had tried an idle handler but I hadn't used it
correctly - I didn't think of putting the whole routine inside it. I'll try
it now.
--
Simon
--------------

> From: Ivan Andrus <email@hidden>
> Date: 06 Feb 2003 22:01:56 -0700
> To: AS List <email@hidden>
> Subject: Re: Newbie Question - Recommended method of idling?
>
> On Thu, 2003-02-06 at 21:37, Simon Brown wrote:
>> I'm using a very simple handler to repeat a script every 5 minutes
>> on run
>> repeat
>> some stuff
>> some more stuff
>> waitabit()
>> end repeat
>> end run
>>
>> on waitabit()
>> delay 300
>> end waitabit
>
>> It works but doesn't do much for the responsiveness of my machine when it is
>> running in the background. Does anyone have any suggestions for a better
>> method?
>
> An idle handler is usually the way to go. You have to save it as a
> stay-open application.
>
> on idle
> some stuff
> some more stuff
> --waitabit()
> return 5 * minutes --the time to wait
> end idle
>
> HTH
> --
> Ivan Andrus
_______________________________________________
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.

  • Prev by Date: Re: HELP Remove Missing Tracks from iTunes Library
  • Next by Date: RE: How to prompt for multiple values (and verify them) from Inst aller?
  • Previous by thread: Newbie Question - Recommended method of idling?
  • Next by thread: Mail Rules and Scripts
  • Index(es):
    • Date
    • Thread