Created
May 12, 2020 12:09
-
-
Save drewdiver/2edc3e5ad9a870e0f9b1e88d4a3e6a43 to your computer and use it in GitHub Desktop.
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 tabURL to the URL of the current tab of window 1 | |
set tabName to the name of the current tab of window 1 | |
set the clipboard to "<a href=\"" & tabURL & "\">" & tabName & "</a>" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment