Tip: mail-link; bookmarklet; menu

10 August 2005 · 0 comments

A nice wee tip today from MacOSXHints: Create link email messages in Safari via URL: If you enter the URL mail-link: in Safari’s address bar, it will tell your default mail client to create a new message with a link to the current page — just the same as selecting File: Mail Link to This [...]

A nice wee tip today from MacOSXHints: Create link email messages in Safari via URL: If you enter the URL mail-link: in Safari’s address bar, it will tell your default mail client to create a new message with a link to the current page — just the same as selecting File: Mail Link to This Page.

I hadn’t spotted those two items in Safari’s File menu: Mail Contents of this Page and Mail Link to this Page. Unfortunately the first doesn’t work with Eudora, though a friendly message advises me to try Apple’s Mail.app. The second (and the hint above) work fine.

Mind you, I use a bookmarklet. I now have no idea where it came from (I certainly didn’t create it), but it does the job nicely:

javascript:location.href='mailto:?
SUBJECT='+document.title+'&
BODY='+escape(location.href)
+'\r'+window.getSelection()

Note: in order to wrap the text here I’ve artificially broken it up. You might like to paste it into a text editor and put it back into a single, unbroken line of text.

If you’re not sure what to do with it: add a Bookmark to the Bookmarks Bar in Safari (and probably Firefox) and use the above code as the address. When you’re on a page you can select some text and click the Bookmark. It opens your email application and creates a new message with the Title of the page in the Subject and the selected text in the body.

Be the first to comment ⇒

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

Add your Comment

Older Post:

Newer Post: