This file contains hidden or 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
| -- In Safari, this copies the Title and URL of the current tab to the clipboard. | |
| -- Save the script in ~/Library/Scripts/Applications/Safari | |
| -- Using Alfred, I assign a trigger to this script using the hotkey ⌥-C (option c), with the scope of the trigger limited to Safari. | |
| -- Inspired by CopyURL + (http://copyurlplus.mozdev.org/) | |
| -- Inspired by Christopher R. Murphy | |
| -- Modified by Lexx | |
| tell application "Safari" | |
| set theURL to URL of front document | |
| set theTitle to name of front document |