Re: Entourage -- moving message from one folder to another
Re: Entourage -- moving message from one folder to another
- Subject: Re: Entourage -- moving message from one folder to another
- From: Jay Louvion <email@hidden>
- Date: Sun, 13 Nov 2005 19:01:08 +0100
Title: Re: Entourage -- moving message from one folder to another
I think it goes little something like this...
set destFolder to folder “~Spam”
set storage of theItem to destFolder
HTH
J.
On 12/11/05 20:11, "Randall Perry" <email@hidden> wrote:
> 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
>
>
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.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