Re: Moving (to) Mail....
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.