Last active
December 18, 2015 01:59
-
-
Save dasevilla/5708040 to your computer and use it in GitHub Desktop.
AppleScripts to create a daily note.
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
-- The title will be today's date, it will be tagged with 'daily', and will be placed in the 'Inbox' notebook. | |
tell application "Evernote" | |
set theTitle to do shell script "date +%Y/%m/%d" | |
set theTags to {"daily"} | |
set theNotebook to "Inbox" | |
set theNote to create note with text "" title theTitle tags theTags notebook theNotebook | |
tell theNote to append html "<div><strong>Links</strong></div><div><ul><li>None</li></ul></div><div><hr /></div><div>Today</div>" | |
end tell |
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
-- The title will be today's date and it will be tagged "meeting notes" | |
tell application "Evernote" | |
set theTitle to "Mtg: " & (do shell script "date +%Y/%m/%d") | |
set theTags to {"meeting notes"} | |
set theNotebook to "Inbox" | |
set theNote to create note with text "" title theTitle tags theTags notebook theNotebook | |
tell theNote to append html "<div><strong>Notes</strong></div><ul><li>None</li></ul><div><hr /></div><div><strong>Action Items</strong></div><div><br /></div><div><en-todo /></div>" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment