[MlMt] Safari to Pinboard?

Nitin Goyal go4nitin at gmail.com
Sat Aug 24 13:48:35 EDT 2013


Got it working with my scrappy Applescript :)

	tell application "Safari"
		set theURL to (URL of current tab of window 1)
		set theTitle to (name of current tab of window 1)
	end tell
	set theSenderl to "Your Name <youremail at example.com>"
	set theReceiver to "Some One <tosomeone at example.com>"

	--activate application "MailMate"
	tell application "MailMate" to open location "mailto:" & (theReceiver) 
& "?from=" & (theSenderl) & "
	&subject=" & (theTitle) & "
	&Body=" & (theURL) & "
	&send-now=yes" with trust

Hope its fine, Benny


-- 
Nitin


More information about the mailmate mailing list