Re: How to use "Check for new mail" feature
Re: How to use "Check for new mail" feature
- Subject: Re: How to use "Check for new mail" feature
- From: Michelle Steiner <email@hidden>
- Date: Mon, 23 Sep 2002 13:18:29 -0700
On Monday, September 23, 2002, at 07:00 AM, Fridiric Bultot wrote:
I would like to write an AppleScript code that check
every x minutes if new mails are coming. As I seen
that mail.app has the object "Check for new mail"
feature but has to glue how to use it.
If somebody could help me if would be great.
Well, first of all, mail has that feature built in; you don't have to
use an applescript.
However, if the built-in function doesn't meet your needs, the
following script should work.
on idle
tell application "Mail" to check for new mail
return 2 * minutes -checks mail every two minutes
end idle
Change the return time as needed. Save the script as a stay-open
applet, and then run it.
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.