Created
November 6, 2013 20:23
-
-
Save swbuehler/7343442 to your computer and use it in GitHub Desktop.
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
tell application "Evernote" | |
set theDate to (the (current date) - the (time of the (current date))) | |
-- Today's applications | |
do shell script "echo " & quote & "Applied Today:" & quote & " > ~/Jobs.txt" | |
set theNotes to every note in notebook "Job Search" whose creation date ≥ theDate | |
repeat with eachNote in theNotes | |
set theTitle to the title of eachNote | |
do shell script "echo " & quote & theTitle & quote & " >> ~/Jobs.txt" | |
end repeat | |
-- Today's modified items | |
do shell script "echo " & quote & "Updated Today:" & quote & " >> ~/Jobs.txt" | |
set theNotes to every note in notebook "Job Search" whose (modification date ≥ theDate and creation date < theDate) | |
repeat with eachNote in theNotes | |
set theTitle to the title of eachNote | |
do shell script "echo " & quote & theTitle & quote & " >> ~/Jobs.txt" | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment