• 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: Moving (to) Mail....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving (to) Mail....


  • Subject: Re: Moving (to) Mail....
  • From: martin schiller <email@hidden>
  • Date: Wed, 28 Aug 2002 07:02:55 -0700

On Tuesday, August 27, 2002, at 11:42 AM, cricket wrote:

Mail doesn't have scheduled script running capability, so you would either have to use a script scheduler of some kind or write a script that uses an idle handler. For example, this script would check email in 2 accounts:

set acctlist to {"mac.com", "mindspring.com"}
on idle
tell application "Mail"
repeat with eachAccount in acctlist
check for new mail for account eachAccount
end repeat
end tell
return 300 -- wait 5 minutes before checking again
end idle



I tried to use this format for checking mail and get 'expected end of line but found identifier' at the word "mail" in the check for new mail line. I've tried as many alternative constructions as I can think of but the dictionary doesn't offer much help.

The sample scripts 'crazy message text' and 'quick mail' don't offer much help with connecting to check mail either.

Martin
_______________________________________________
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: Moving (to) Mail....
      • From: cricket <email@hidden>
References: 
 >Re: Moving (to) Mail.... (From: cricket <email@hidden>)

  • Prev by Date: Re: Storing preferences...
  • Next by Date: Folder Actions in Jaguar
  • Previous by thread: Re: Moving (to) Mail....
  • Next by thread: Re: Moving (to) Mail....
  • Index(es):
    • Date
    • Thread