I want to move the current message (the one the cursor has highlighted)
to my Archive folder. I found a script on MacScripter by Jerry Krinock
that gets me part way there. However, his script moves all the messages
in a folder to another folder. I just want to move one message--the one
highlighted.

Can someone provide a code snippet. It would also be cool if this has
some simple error checking. For example, if a message is not
highlighted, it would tell the user.

Thanks.

Re: Need Script Help: Move Current Message to Archive Folder by Mickey

Mickey
Sat May 06 12:06:23 CDT 2006

You might not need an AppleScript for this. See this help article for
instructions on how to create your own keyboard shortcuts in OS X 10.3 or
later.
<http://docs.info.apple.com/article.html?artnum=152140>

Just enter the folder title as it appears under Message > Move To as the
menu title.

On 5/6/06 7:32 AM, in article
1146918723.326507.309290@u72g2000cwu.googlegroups.com,
"michael.hyatt@nospam.gmail.com" <michael.hyatt@gmail.com> wrote:

> I want to move the current message (the one the cursor has highlighted)
> to my Archive folder. I found a script on MacScripter by Jerry Krinock
> that gets me part way there. However, his script moves all the messages
> in a folder to another folder. I just want to move one message--the one
> highlighted.
>
> Can someone provide a code snippet. It would also be cool if this has
> some simple error checking. For example, if a message is not
> highlighted, it would tell the user.
>
> Thanks.
>

--
Mickey Stevens (Microsoft MVP for Office:mac)
PowerPoint FAQ featuring PowerPoint:mac: <http://www.pptfaq.com/>
Entourage Help Page: <http://www.entourage.mvps.org/>


Re: Need Script Help: Move Current Message to Archive Folder by michael

michael
Sat May 06 12:22:29 CDT 2006

That totally worked. I have been using iKey for this, and it
occasionally gives me an error. Thanks for this tip!