Open richstokes opened 1 year ago
If a note is unlocked, macnotesapp can access the body of the note but it's locked the body will be empty when macnotesapp reads the note. I don't currently know a way to determine if a note is locked (other than the body being null) though as I mentioned above you can determine if the note is password protected.
Unfortunately there is not. There may be a private API to do this but I've not dug deeply enough into this to determine if so as I don't use password protected notes. You can determine if a note is password protected using the Note.password_protected property