xwmx/notes-app-cli

all commands result in error

dmd opened this issue · 5 comments

dmd commented

All commands I try result in the same error:

$ notes-app list
104:109: execution error: Notes got an error: Can’t make show id "x-coredata://DEA4C1CA-B6D8-4D5E-A706-22E7CA60C919/ICAccount/p1" into type specifier. (-1700)
xwmx commented

Thanks for the heads up! Looks like there's a change in Catalina (this was developed on a machine still running Mojave) and it's having an issue with the default account name. I'll take a look.

xwmx commented

Unfortunately, an initial search suggests that AppleScript Notes.app access might be broken in Catalina:

The AppleScript Notes.app access was already a bit broken in Mojave and maybe Apple has abandoned it. I'll have to add a note to the README.

dmd commented

:(

@xwmx Have you check if it works in Big Sur? I haven't installed the beta yet, just wondering...

xwmx commented

No, not yet.