We have some new AppleScripts to share with the forum to work around some of Catalina’s bugs. I had hoped to publish them today; however, I spent a big chunk of today investigating work-arounds and drafting a couple of more elaborate, specific web pages about these issues – nearly ready but now past midnight here.
We have filed a couple of bug reports with Apple regarding Catalina Notes AppleScript bugs, and we expect to file a third more general one.
In sum, with Catalina, Notes AppleScript is broken, lots of -1700 errors when interacting with note objects. Lots of -10000 errors specficially after turning on iCloud sync.
We’ve also now noticed issues with pre macOS 10.15 note ID’s served by Apple’s Notes app via AppleScript not being identical for the same note across different macOS instances when the note is in iCloud or synced via Google.
It took us a few days to respond since the first report because : we needed to test investigate /test over multiple versions of macOS, on different machines, using different forms of notes, and different versions of Hook; we encountered bugs with macOS (as noted); and were determined to try all potentially feasible approaches to work-around this. Three of us here at CogSci Apps have been involved, plus input from a fourth.
On Sunday ( 2019-10-20) I will publish more information (about the various Notes issues and new scripts) as noted above.
I will of course keep the forum updated as Apple hopefully responds to and ultimately addresses these issues, and as noted we will investigate work-arounds.
Post edited 2019-10-20 11:29 AM
I’ve removed the text about recommending not using macOS Notes with Hook, which was premature with respect to pre-Catalina (of course the Catalina situation is significant, however). What we know with respect to to pre 10.15 macOS Notes is that under a multi-mac situation macOS assigns different addresses to the same iCloud note. (Hook does not yet provide a link sync mechanism anyway, but we have an internal implementation we have been testing.) But for the same Mac you are fine. And if you migrate from one Mac to another via a clone (e.g., Carbon Copy Cloner) according to our tests, Note IDs are preserved (as one would expect). We need to verify whether Migration Assistant preserves Note IDs. In our tests so far, turning iCloud Note syncing off and then on again preserves Note IDs, but it is logically possible (we have not seen that yet) that if iCloud Note syncing is off for a while, macOS would offload its local cached notes and lose track of the IDs that it had previously assigned. So for now we would recommend against toggling iCloud Notes off or using Hook with Notes if that is an issue. As noted above, we will issue a third report with Apple, this one concerning its assignment of iCloud and Google note “IDs”.