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