{"id":4535,"date":"2008-02-25T13:06:53","date_gmt":"2008-02-25T12:06:53","guid":{"rendered":"http:\/\/onsoftware.en.softonic.com\/send-a-url-in-a-flash-from-safari\/"},"modified":"2025-07-02T02:34:21","modified_gmt":"2025-07-02T09:34:21","slug":"send-a-url-in-a-flash-from-safari","status":"publish","type":"post","link":"https:\/\/cms-articles.softonic.io\/en\/send-a-url-in-a-flash-from-safari\/","title":{"rendered":"Send a url in a flash from Safari"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/articles-images.sftcdn.net\/wp-content\/uploads\/sites\/3\/2008\/02\/applescript.jpg\" alt=\"applescript\" align=\"left\" \/>When a Safari user finds an interesting link that he wants to share with his buddies, what he most likely does is select the &#8216;Mail Link to this Page&#8217; function in the Safari menu. This normally opens up a new message from the Mac Mail.app and pastes the URL into it. All you have to do is then set a subject and select the email adresses of the people you want to send the URL to.<\/p>\n<p>There are quicker ways by which to send URLs in Safari. One is the keyboard combination of Command Shift + I. This won&#8217;t send the email automatically though. Even better, you can install an applescript to make copying and sending a URL a one step process. First, find and open up the AppleScript Utility in Applications. Then copy and paste the following line of code:<br \/>\n<code><br \/>\ntell application \"Safari\"<br \/>\nset thisPage to URL of document 1<br \/>\nset theSubject to name of document 1<br \/>\nend tell<br \/>\ntell application \"Mail\"<br \/>\nset theAddress to \"Friends@mac.com\"<br \/>\nset theBody to \"Hey, I thought you would be interested in this link:<br \/>\n\" &amp; thisPage<br \/>\ntell application \"Mail\"<br \/>\nset newMessage to make new outgoing message with properties {subject:theSubject, content:theBody &amp; return &amp; return}<br \/>\nset message signature of newMessage to signature \"Cheers\" -- Cheers being the name of an existing signature  already set up in Mail...<br \/>\ntell newMessage<br \/>\nset visible to false<br \/>\nset sender to \"yourFromMailAddress@mac.com\"<br \/>\nmake new to recipient at end of to recipients with properties {address:theAddress}<br \/>\nsend<br \/>\nend tell<br \/>\nend tell<br \/>\nend tell<\/code><\/p>\n<p>Save it, then use a program like <a href=\"http:\/\/www.red-sweater.com\/fastscripts\/index.html\">FastScripts<\/a> or <a href=\"http:\/\/www.keyboardmaestro.com\/main\/\">Keyboard Maestro<\/a> to add a hotkey to the AppleScript. Activating it will take the URL in your Safari browser, open up Mail.app, copy it in the message, add a body text and signature. You can always change the body text, signature and email addresses in the AppleScript. Once set up, sharing URLs with friends will only take the click of a key.<\/p>\n<p>[Via: <a href=\"http:\/\/www.macosxhints.com\/article.php?story=20080213202340174\">macosxhints<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When a Safari user finds an interesting link that he wants to share with his buddies, what he most likely does is select the &#8216;Mail Link to this Page&#8217; function in the Safari menu. This normally opens up a new message from the Mac Mail.app and pastes the URL into it. All you have to &hellip; <a href=\"https:\/\/cms-articles.softonic.io\/en\/send-a-url-in-a-flash-from-safari\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Send a url in a flash from Safari&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2004,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wpcf-pageviews":0},"categories":[],"tags":[2431],"usertag":[],"vertical":[],"content-category":[],"class_list":["post-4535","post","type-post","status-publish","format-standard","hentry","tag-app-subdomain-redirectionsafari"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/4535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/users\/2004"}],"replies":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/comments?post=4535"}],"version-history":[{"count":1,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/4535\/revisions"}],"predecessor-version":[{"id":336352,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/4535\/revisions\/336352"}],"wp:attachment":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media?parent=4535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/categories?post=4535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/tags?post=4535"},{"taxonomy":"usertag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/usertag?post=4535"},{"taxonomy":"vertical","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/vertical?post=4535"},{"taxonomy":"content-category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/content-category?post=4535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}