• 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: cricket <email@hidden>
  • Date: Wed, 28 Aug 2002 11:48:35 -0700

My bad. You want to use:

check for new mail for account named eachAccount

Note that for this to work, you need to save it as an Application, not a script, for the idle handler to work.

- cricket

On Wednesday, August 28, 2002, at 07:02 AM, martin schiller wrote:

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.

----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
Perhaps I'll breed some sort of albino shouting gorilla.
_______________________________________________
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.

References: 
 >Re: Moving (to) Mail.... (From: martin schiller <email@hidden>)

  • Prev by Date: Re: Usage (was Re: OT: Re: New Address Book in Jaguar 10.2...)
  • Next by Date: RE: Internet Explorer 5.1 won't retain helper pref?
  • Previous by thread: Re: Moving (to) Mail....
  • Next by thread: Re: Entourage question
  • Index(es):
    • Date
    • Thread