Skip to content

Instantly share code, notes, and snippets.

Created November 19, 2020 16:47
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
New Daily note in Simplenote via AppleScript
-- create a string from the current date
set todaysDate to (current date) as string
-- open simplenote and make it the active window
tell application "Simplenote"
end tell
-- use system events to
-- "type" CMD+N
-- "type" in the current date
tell application "System Events"
keystroke "n" using {command down}
keystroke "Daily note: "
keystroke (todaysDate)
end tell
Copy link

Thank you for sharing!

Copy link

cdevroe commented Nov 23, 2020


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment