Created
May 22, 2014 07:35
-
-
Save lsfalimis/b8e9f910b28ae2fab277 to your computer and use it in GitHub Desktop.
Save the Website Screenshot to EN
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 theDate to current date | |
set y to text -4 thru -1 of (year of theDate as string) | |
set m to text -2 thru -1 of ("0" & ((month of theDate) as integer)) | |
set d to text -2 thru -1 of ("0" & (day of theDate)) | |
set timeStamp to y & "-" & m & "-" & d & " " & time string of (current date) | |
set theTitle to title of active tab of first window | |
set theURL to URL of active tab of first window | |
tell application "Evernote" | |
create note notebook "Snagit" title theTitle with text theURL & return & return & timeStamp & return & return attachments theFile | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment