Last active
May 6, 2016 22:04
-
-
Save kliker/7df064c75d45908a56b6 to your computer and use it in GitHub Desktop.
Alfred app workflow: Get Safari current tab URL to clipboard
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
on alfred_script(q) | |
-- Copies URL of the current tab to the clipboard | |
-- Requires Alfred PowerPack | |
tell application "Safari" | |
set theURL to URL of front document | |
set the clipboard to theURL as string | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment