Created
October 3, 2015 01:33
-
-
Save ckunte/53ed99fe43761541025b to your computer and use it in GitHub Desktop.
Get URL and title from Safari's active tab -- useful for inserting hyperlinks
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
--- Get URL and title from Safari's active tab -- useful for inserting hyperlinks | |
tell application "Safari" to get the URL of the front document & " \"" & name of the front document & "\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment