Re: Apple Script For Opening External EML File With Apple Mail
Re: Apple Script For Opening External EML File With Apple Mail
- Subject: Re: Apple Script For Opening External EML File With Apple Mail
- From: Michelle Steiner <email@hidden>
- Date: Wed, 18 Nov 2009 07:32:58 -0700
On Nov 18, 2009, at 2:51 AM, Nisar.p.v wrote: I am using the following Apple Script lines for opening the mails which are in Mail app for each modes.
View Mode : open theMsg
Reply View Mode : reply theMsg opening window yes
Reply All Mode : reply theMsg opening window yes reply to all yes
Forward Mode : forward theMsg opening window yes
Only the first opens the message; the rest create a new message containing the quoted contents of the original message. Furthermore, Reply and Reply All are the same thing, but with different parameters; they are not different "modes".
I want to know how we can open external eml file in different view modes (View, Reply, Reply All and Forward) using Apple Script or Apple Event programmatically with a similar mechanism available through script in Mail App.
You can open an external eml file with the following script:
tell application "Finder" set foo to open item 1 of (get the selection) end tell
Then you can script mail.app to reply to or forward the message.
-- Michelle
-- Patriots demand freedom; sheep demand security.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden