4 ms·
ChatGPT can even show you how to do this in Python BTW! from ScriptingBridge import SBApplication notes_app = SBApplication.applicationWithBundleIdentifier
by jph00 3y ago
ChatGPT can even show you how to do this in Python BTW!
from ScriptingBridge import SBApplication
notes_app = SBApplication.applicationWithBundleIdentifier_("com.apple.Notes")
for folder in notes_app.folders():
for note in folder.notes():
print(f"{note.name()}\n{note.body()}\n")