Re: Mac Mail Questions
Re: Mac Mail Questions
- Subject: Re: Mac Mail Questions
- From: Shane Stanley <email@hidden>
- Date: Sat, 21 Feb 2004 09:54:23 +1100
On Feb 21, 2004, at 8:59 AM, Jeff Porten wrote:
You may want to replace "delay 5" with:
do shell script "sleep 5"
which invokes the same Unix command. Difference is, delay uses a pile
of CPU time, sleep doesn't.
What's your definition of "a pile"? A quick and dirty test with
Activity Monitor shows "delay 300" as an applet uses between 1% and 3%.
For the same thing sleep uses next to none, but I'm not sure that, over
the course of five seconds, the difference is worth losing too much,
well, sleep over.
--
Shane Stanley <email@hidden>
_______________________________________________
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.