Scripting Mail: Command to select a message?
My problem is that the "Remove Attachments" command that I use all the time deselects the message after removing the attachment. I want to use a script that stores the current selection in a global variable, then apply the "Remove Attachments" command, and then use another script to reselect the previously selected message using the global variable.
I would then create a macro in Keyboard Maestro to do all three steps, since Mail's AppleScript dic does not include a command for removing attachments.
Any help would be appreciated.
Message was edited by: Pierre Igot
Message was edited by: Pierre Igot
Mac Pro 2x2.26 GHz, Mac OS X (10.6.3)