Mailbox question
Mailbox question
- Subject: Mailbox question
- From: Michelle Steiner <email@hidden>
- Date: Tue, 17 Feb 2009 17:33:09 -0700
This works:
tell application "Mail" set box to mailboxes repeat with i from 1 to count box item i of box end repeat end tell
This doesn't:
tell application "Mail" set box to mailboxes repeat with i from 1 to count box item i of box is in (selected mailboxes of message viewer 1) end repeat end tell
"item i" is selected, and the error is "Can’t make «class mbxp» \"Applescript/" of application \"Mail\" into type vector."
-- Michelle -- I am only one, but still I am one. I cannot do everything, but still I can do something; and because I cannot do everything, I will not refuse to do something I can do. --Edward Everett Hale
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden