Mail.app script help needed
Mail.app script help needed
- Subject: Mail.app script help needed
- From: Michelle Steiner <email@hidden>
- Date: Fri, 18 Mar 2005 00:55:33 -0700
Here is the script:
tell application ""
set to (name of accounts)
end tell
set to (choose from list () with multiple selections allowed without empty selection allowed)
if is not false then
tell application ""
set include when getting new mail of every account to false
repeat with in
set (include when getting new mail of account ) to true
end repeat
end tell
end if
This line errors:
set (include when getting new mail of account ) to true
Here is the error:
set include when getting new mail of account "email@hidden" to true
Mail got an error: NSReceiverEvaluationScriptError: 4"
The "every account" line works, but the line that sets only one account fails.
-- Michelle
--
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden