I set up a very basic AppleScript to import a file to DevonThink, that is ran by Hazel, when a file is placed in a folder.
tell application id "DNtp" set thisGroup to incoming group import theFile to thisGroup end tell
Right now it is just going into the global inbox but when I tried to import into my desired database, it would create a new record. Is there a way to tell DevonThink to overwrite a record based on the incoming filename? If all else fails I guess I could use the incoming file name to find if a record exists, delete it, and import the new record but it would nice if the tags and meta data could be preserved and just the contents of the record be updated. I plan on only using this for text or rich text files.
Thanks in advanced!