On 24 Aug 2013, at 9:20, Nitin Goyal wrote:

I need to do the following:

1. Capture Safari tab Title as "Subject".
2. Capture Safari tab URL as "Body".
3. Insert an email address in the "To" field.
4. Send email in the background.

I have made a Keyboard Maestro macro to do the same. But, is doesn't do it in background. It shows the compose window momentarily. How can this be achieved via applescript or emate?

I assume you already have the Safari stuff working (in AppleScript). You can then create and send the message using something very similar to the [Alfred example](http://www.alfredforum.com/topic/2354-add-support-for-mailmate-email-client/?p=17560) I created for you. You need to do something like the following:

set mailto to create_mailto(safari_subject, safari_url, {}, email, name)
        set mailto to mailto & "&send-now=yes"


(And don't tell MailMate to `activate`.)

--
Benny
_______________________________________________
mailmate mailing list
[email protected]
http://lists.freron.com/listinfo/mailmate

Reply via email to