Skip to content

Instantly share code, notes, and snippets.

@jondcallahan
Created May 21, 2019 16:57
Show Gist options
  • Save jondcallahan/569c5b6f6ad453a51819042dd156dfaf to your computer and use it in GitHub Desktop.
Save jondcallahan/569c5b6f6ad453a51819042dd156dfaf to your computer and use it in GitHub Desktop.
AppleScript that will export your Bear.app notes. Note: Bear must be running
tell application "System Events" to tell process "Bear"
set frontmost to true
click menu item "Backup Notes..." of menu 1 of menu bar item "File" of menu bar 1
delay 1
key code 36 # Press enter
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment