Created
May 11, 2011 22:47
-
-
Save rosskarchner/967562 to your computer and use it in GitHub Desktop.
Saves the visible page in Chrome as a full-page screenshot, in Evernote, via the freeware Paparazzi! app
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 run {input, parameters} | |
tell application "Google Chrome" | |
set myURL to URL of active tab of window 1 | |
set myTitle to title of active tab of window 1 | |
end tell | |
tell application "Paparazzi!" | |
capture myURL min size {1024, 728} | |
repeat until busy is false | |
end repeat | |
set myFile to save as PNG in "/tmp/" | |
quit | |
end tell | |
tell application "Evernote" | |
set myNote to create note title myTitle from file myFile notebook "Screenshots" | |
tell myNote to append html "<a href='" & myURL & "'>" & myTitle & "</a>" | |
tell myNote to set source URL to myURL | |
end tell | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment