• 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: How to use "Check for new mail" feature
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: capturing e-mail text strings to http posting
  • Next by Date: Re: How to use "Check for new mail" feature
  • Previous by thread: Re: How to use "Check for new mail" feature
  • Next by thread: Re: How to use "Check for new mail" feature
  • Index(es):
    • Date
    • Thread