Here is what I try to do with a selected message :
but I get the following message : NSCannotCreateScriptCommandError
Could you help me to fix my script please ?
Thanks a lot
Here is what I try to do with a selected message :
but I get the following message : NSCannotCreateScriptCommandError
Could you help me to fix my script please ?
Thanks a lot
Try:
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]
I get the same error
OK, this is tested code:
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]
ok, it works fine !
thanks a lot
I applied a shortcut to this script (see at http://www.macosxhints.com/article.php?story=20040618161426854 ) and when I select a mail and type the shortcut, the mail goes to the specified mailbox.
Perfect, but… the next mail is not selected so I have to use the mouse again to select the next mail.
My goal is to use shortcuts to avoid using my mouse…
Thanks a lot to help me a little bit more. Applescript is really much more complicated than what I thought but I really want to learn it
I haven’t updated this in a while and I haven’t tested with the latest version of Mail.app, but you can take a look at my MailMover script on my site:
http://homepage.mac.com/jonn8/as/
It should offer some insights to your situation.
Jon
Thanks again. I did not know your website. I will study your script to find a solution