Created
October 13, 2012 08:03
-
-
Save fgarcia/3883755 to your computer and use it in GitHub Desktop.
take screenshot of current Chrome URL
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 "Google Chrome" | |
set activeURL to URL of active tab of first window | |
end tell | |
activate application "Skitch" | |
tell application "System Events" | |
tell application process "Skitch" | |
click menu item "Snap from Link..." of menu "Capture" of menu bar 1 | |
tell (1st process whose frontmost is true) to keystroke activeURL | |
keystroke return | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment