Last active
August 29, 2015 14:13
-
-
Save swilliams/e16fc29d8942de489daf to your computer and use it in GitHub Desktop.
Get Markdown Link from Safari
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
set theURL to URL of current tab of window 1 | |
set theTitle to name of current tab of window 1 | |
set the clipboard to "[" & theTitle & "](" & theURL & ")" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment