Re: Mac Mail Questions
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.