• 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: Mac Mail Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Mac Mail Questions (From: Oakley Masten <email@hidden>)
 >Re: Mac Mail Questions (From: Graff <email@hidden>)
 >Re: Mac Mail Questions (From: Jeff Porten <email@hidden>)

  • Prev by Date: Re: Where to report Script Editor bug?
  • Next by Date: Re: startup disk question
  • Previous by thread: Re: Mac Mail Questions
  • Next by thread: Address Book Question
  • Index(es):
    • Date
    • Thread