1. 打开Notes 点击准备备份目录的起始note
2. Copy 脚本到Mac ScriptEditor 然后运行
3. 生成 PDFs
4. OS: Catalina 10.15.X
set cnt to 58 set i to 0 tell application "System Events" repeat cnt times tell process "Notes" set frontmost to true click menu item "Export as PDF…" of menu 1 of menu bar item "File" of menu bar 1 delay 2 key code 76 key code 1 using {command down} delay 1 key code 15 using {command down} delay 5 key code 125 end tell end repeat end tell