At 5:46 pm +0100 6/2/07, J.L. Slangen wrote:
>... I have not discovered in the Mail.app Dictionary any command
>that moves an attachment from inside Mail to outside Mail. That is
>to say, I am unable to get the "move", "make" and "save" commands to
>do anything that comes near to what the aforementioned Save button
>accomplishes. Any suggestion?
You can get the source of the message
tell application "Mail"
set _message to item 1 in (get selection)
set _source to source of _message
end tell
then parse it to extract the base64-encoded data of the attachment,
decode this using Perl, munpack or something, and write to a file.
It's not too difficult once you've done it.
JD