|[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"
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
Do not post admin requests to the list. They will be ignored.
|>Re: How do I move a message in Mail? (From: cricket <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.