• 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
dd: Delay hogs memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dd: Delay hogs memory


  • Subject: dd: Delay hogs memory
  • From: dave dowling <email@hidden>
  • Date: Thu, 27 Feb 2003 02:53:58 -0500

Is there a way to have AppleScript execute a delay without eating up so
much available RAM? Here's a little alarm clock script I wrote a while
back. I'd like to use AppleScript for other such looping routines with
delays, but they use up so much RAM that they're not an option for me.
Any ideas? Here's the script I wrote:

set myTimeToGetUp to 5
repeat
set myDate to current date
set myHour to ((time of myDate) / 3600)
log myHour
if myHour > myTimeToGetUp then
repeat
delay 3
beep
end repeat
end if
delay 60
end repeat


Thanks.
dave dowling

Free at last! How I found peace with God:
http://www.davedowling.com/steps.html
_______________________________________________
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.

  • Follow-Ups:
    • Re: dd: Delay hogs memory
      • From: Martin Crisp <email@hidden>
    • Re: Delay hogs memory
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: General Questions
  • Next by Date: Re: Trouble with Unicode text
  • Previous by thread: Re: iTunes Dictionary: Player State = Missing
  • Next by thread: Re: Delay hogs memory
  • Index(es):
    • Date
    • Thread