I have been using DevonThink Pro for many many years. Very few problems in all that time!
Now I have noticed something that I wish to ask the informed people here about.
Firstly, for your information, I have DevonThink 3.03 on Mac OS Catalina 10.15.2. My computer is a Mac Mini (2018).
Each document in DevonThink can have Finder Comments added in the inspector pane on the right. I find this very useful and I have assumed it is filling in the Finder Comments in the Mac OS. I have used Show in Finder to reveal the file in the Finder and opened the Get Info window but there is no comment to be seen in that window.
So, this is a mystery for me. Can anyone explain why Iâm not seeing the Finder Comment in the Finderâs Get Info window?
For imported files, this data, as it is with Tags, is not applied in the Finder until the file is exported. Otherwise, it is just used within DEVONthink itself.
For indexed files, the Finder Comments and Tags are immediately applied to the file in the Finder.
Iâm developing a file sorting system that starts with tags but also makes use of data stored in Finder Comments. I would like to preserve this information when it goes into DevonThink. If I drag the file into DT it works, but I have found that if I use the DT inbox with the Import folder action (the one set up during install), the Finder Comments for the file do not appear in DT. I looked at the âFolder Action Scriptsâ and they all seemed to use the same âimportâ AppleScript command. Would editing the AppleScript in some way preserve the Finder Comments? I really would prefer to use a folder action that makes the file go away after import.
Thanks, that works! I didnât know cmd worked in this capacity while dragging onto apps.
Is there a way to import via script that preserves the Finder Comments? My preference would be to include an âimport to DTâ step in my filing automation.
Looking at the AppleScript library, it seems I could replace the âimportâ command with âcreate record withâ command, right? assuming the âcommentsâ property is âfinder commentsâ. I see another âcommentsâ field in Document properties.
Did you add the comment right before the test? Then it might be a timing issue as the Finder does not immediately update its .DS_Store files. A simple test like this worked as expected:
tell application id "DNtp" to import "~/Desktop/Test.txt"