dd: Delay hogs memory
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.