View Single Post
Quote:
Originally Posted by RobTrew View Post
you still have to generate the URL on a Mac
e.g. to copy the URL of the first currently selected message in OS X Mail:

Code:
tell application id "emal"
	tell front message viewer
		set lstSeln to selected messages
		if lstSeln ≠ {} then
			set strURL to "message://%3c" & message id of item 1 of lstSeln & "%3e"
			set the clipboard to strURL
		end if
	end tell
end tell