• 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: Jeff Porten <email@hidden>
  • Date: Fri, 20 Feb 2004 16:59:22 -0500

On Feb 17, 2004, at 4:55 PM, Graff wrote:

You can always check the background activity count and only quit when it is zero:
------------
tell application "Mail"
repeat while (background activity count > 0)
delay 5
end repeat
quit
end tell

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.
_______________________________________________
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: Mac Mail Questions
      • From: Shane Stanley <email@hidden>
References: 
 >Mac Mail Questions (From: Oakley Masten <email@hidden>)
 >Re: Mac Mail Questions (From: Graff <email@hidden>)

  • Prev by Date: Re: Where to report Script Editor bug?
  • Next by Date: Are there any good QuickTime Player 6 Movie Exporting Examples?
  • Previous by thread: Re: Mac Mail Questions
  • Next by thread: Re: Mac Mail Questions
  • Index(es):
    • Date
    • Thread