Email file script

Hi :slight_smile:
Has anyone seen a script (or a CMM) that will take a selected file (in the finder) and start a blank email message with that selection attached?
Thanks in advance for any info!
salut,

"Thanks for the tip. I should have been more specific. I did find a script at Eudora’s site that works too. What would be nice would be a script that would support whatever email client was specified as default in your Internet settings. "
Yes. This would require a level of standardization that doesn’t exist. Every email program would have to implement a scriptable object model with the same keywords with their options in the same order and requiring the same variables. Not impossible – I believe “get url” is part of a browser-wide apple-suggested internet suite. I doubt there is time for the script masters at apple to propose, test, and implement such a standard, and, well, Microsoft’s adherance to standards is well-known.
mg

"Has anyone seen a script (or a CMM) that will take a selected file (in the finder) and start a blank email message with that selection attached? "
It woudl help if we knew if you wanted to do this in Emailer, Eudora, OE, or AOL.
I think the first script at this address
http://macscripter.net/email.html
might show you the way. Or try the Applescript Sourcebook’s link page. It has links to scripting Emailer, Eudora, and Outlook Express.
http://www.AppleScriptSourcebook.com/

: "Has anyone seen a script (or a CMM) that will take
: a selected file (in the finder) and start a blank
: email message with that selection attached? "
: It woudl help if we knew if you wanted to do this in
: Emailer, Eudora, OE, or AOL.
Thanks for the tip. I should have been more specific. I did find a script at Eudora’s site that works too. What would be nice would be a script that would support whatever email client was specified as default in your Internet settings.

I tackled this for OE in my column this month on AppleWizards. The script will accept a Finder selection or prompt the user for a file if there is no selection. If nothing else, the script could serve as a model for creating one for another e-mail client. All that would need to be changed is the “tell application ‘Outlook Express’” block.
Kevin Bradley
The AppleScript Foundry