I'd like a simple AppleScript to move a message from the Inbox to another folder.
i've tried
move theMessage to folder "Filed"
and
move theMessage to folder "Filed" of folder "Inbox"
but i get a funky error in the script editor: "Can't get item 1 of {incoming message id 27469}".
I'm moving from Windows, have some macros for Outlook that keep me sane that I'm trying to replicate in Entourage...
Bras
<gco...@officeformac.com> wrote in message
news:59b6f...@webcrossing.caR9absDaxw...
So I just tried some of the sample scripts and it turns out I had the right code in the first place, but just discovered an interesting quirk. If I run the script against a folder in a folder in "Folders on My Computer", it works (using Diane's move to !ToAdd script above).
However, if I run it against a message in the Inbox on our Exchange server, it doesn't work - and it fails silently, not even giving me the error dialogs.
Will start scouring the forums again to see if I can find the issue myself, but if you know offhand what the story is I'd love to know!
Thanks again!!
-george
> However, if I run it against a message in the Inbox on our Exchange server, it
> doesn't work - and it fails silently, not even giving me the error dialogs.
Mind you I'm not a scripting expert...maybe copy rather than move. Check out
the script that autoarchives Exchange messages to folders "On My Computer"
as an example:
<http://www.entourage.mvps.org/downloads/scripts/AutoArchive.zip>
--
Diane