Entourage -- moving message from one folder to another
Entourage -- moving message from one folder to another
- Subject: Entourage -- moving message from one folder to another
- From: Randall Perry <email@hidden>
- Date: Sat, 12 Nov 2005 14:11:36 -0500
- Thread-topic: Entourage -- moving message from one folder to another
I've got this code that reports spam from selected messages in my inbox, to
which I just added the 'move' line. I've tried 'move message theItem' and
'move theItem' both of which generate errors.
Rest of the code works fine, but I can't figure out how to move the message
to a different folder.
Any ideas?
tell application "Microsoft Entourage"
set theItems to selection
repeat with theItem in the theItems
if class of theItem is incoming message then
set x to source of theItem
make new outgoing message in folder "Outbox" with properties {to
recipients:spamTo, subject:spamSub, content:x}
end if
move message theItem to folder "~spam"
end repeat
-- send
end tell
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales
http://www.systame.com/
_______________________________________________
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