Skip to content

Instantly share code, notes, and snippets.

@dasevilla
Last active December 18, 2015 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dasevilla/5708040 to your computer and use it in GitHub Desktop.
Save dasevilla/5708040 to your computer and use it in GitHub Desktop.
AppleScripts to create a daily note.
-- 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
-- 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