|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Friday, August 30, 2002, at 09:05 AM, W. Eric Tyson wrote:_______________________________________________
I am running OS X 10.2, and I'm trying to figure out how to move selected email messages (or ones i just created via applescript) into different folders. Does anyone have some sample code or know how to do this?
This snippet will move the selected messages to the Trash mailbox:
tell application "Mail"
set theSelectedMessages to the selection
repeat with eachMessage in theSelectedMessages
set mailbox of eachMessage to mailbox "Trash"
end repeat
end tell
- cricket
----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
I'm lost and I don't know where I am.
_______________________________________________
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: How do I move a message in Mail? (From: cricket <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.