Re: Simple apple script to open a message in Mail?
Re: Simple apple script to open a message in Mail?
- Subject: Re: Simple apple script to open a message in Mail?
- From: Luther Fuller <email@hidden>
- Date: Sat, 23 Feb 2013 15:36:34 -0600
On Feb 23, 2013, at 2:43 PM, Nigel Garvey wrote: On my machine, where the default e-mail client is PowerMail, your script tries to open the message in Mail. (But 'open location' with a "mailto:" protocol starts a message in PowerMail.) So the advice would seem to be to use 'open location "message:"' only when you know the message is in Mail, and to comment the script accordingly.
I'm not sure this is applicable here, so I will let you decide. I have used this …
tell application "Finder" to open msg using application file id "com.apple.mail"
to open a message where the variable msg is an alias to an .emlx file in the Finder and "com.apple.mail" is the application's 'Bundle identifier'. Would it help to use the PowerMail Bundle identifier? (Perhaps not. I don't know where/how your message is stored.)
|
_______________________________________________
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