Accessing Apple Notes

Hello,

has someone ever tried to access Apple Notes?

Have found no threads for this topic searching the forum…

I do not know if it is even possible to get a list of all notes from Apple’s Notes app.

Maybe read notes content, or even edit it…

Using AppleScript might be a solution?!

Maybe someone has a hint - that would be great!

Have a nice day,

Olaf

If I remember correctly, Apple Notes used to be a SQLite database.

see
~/Library/Containers/com.apple.Notes/Data/Library/Notes/NotesV6.storedata

(that is the path or me and yours may be different)

…thank you very much, Christian!

Found some interesting information:

https://www.safaribooksonline.com/library/view/hacking-and-securing/9781449325213/ch04s02.html

The notes database seems to be located at: /private/var/mobile/Library/Notes/notes.sqlite

$ sqlite3 notes.sqlite SQLite version 3.4.0 Enter ".help" for instructions sqlite> select ZCREATIONDATE, ZTITLE, ZSUMMARY, ZCONTENT ...> from ZNOTE, ZNOTEBODY where ZNOTEBODY.Z_PK= ZNOTE.rowid;

Hope this still works…

Thx again!

Have a nice day,

Olaf

Be warned: Apple’s Photos uses an encrypted SQLite database, so Notes may end up using one in the future.

And they use different formats. I developed it for a client on one Mac with v2 just to discover other Mac had v4.
Not the same schemes.

[quote=320885:@Christian Schmitz]And they use different formats. I developed it for a client on one Mac with v2 just to discover other Mac had v4.
Not the same schemes.[/quote]
Gone are the days where iPhoto/Aperture and such were open to third party developers, now they slammed the door shut in our faces.