Devonthink 4 support
Hi PyDT3 developer team! š
First of all, thank you for your great work on this project ā pydt3 is an elegant and very helpful bridge for integrating DEVONthink 3 with Python workflows. I've been using it in a custom visualization tool that builds local connection graphs of interlinked Markdown notes. Everything works perfectly in DEVONthink 3!
I was wondering whether you have any plans to update pydt3 for DEVONthink 4? I understand that the AppleScript interfaces may have changed or been deprecated in part, but it would be fantastic if Python integration could continue under DT4 ā either with this library or a potential successor.
Thanks again for your work, and Iād be happy to test or support where I can!
Best regards,
Fabrizio
Updating shouldn't pose too much of a problem. Instead of Application("DEVONthink 3"), use Application("DEVONthink").
In createRecordWith, change type to recordType. There might be minor changes in other methods, too.
I understand that the AppleScript interfaces may have changed or been deprecated in part
AFAICT, nothing has been deprecated from the scripting interface. Changes have mostly been made to the JXA part of this interface (which is what PyDT3 uses ā no AppleScript!).