Auto-updating index of external files?

I’m using DEVONthink Pro’s ability to index an external folder of PDF documents. (By this, I mean I used File ➜ Index to create an index of a folder containing PDFs.) This folder is updated by another (external) application. It seems that when files are changed externally, DEVONthink does not automatically reindex the folder: I have to click on the icon in DEVONthink and use File ➜ Update Indexed Items in order to make DEVONthink reindex the external folder.

Is there a way to have DEVONthink “notice” changes to the indexed folder and perform reindexing automatically? I checked preferences, the “info” box for the index, and also the manual, but haven’t found a way. Maybe I missed it.

No, this is not possible (and is thoroughly discussed on the forums).

This script works for me;

– Update indexed items of all databases
– Created by Christian Grunenberg on Tue Mar 25 2014.
– Copyright © 2014. All rights reserved.

– Set to true if indexed items are not only located at the root of the database
property pAllRecords : false

tell application id “DNtp”
try
set theDatabases to databases
show progress indicator “Updating Indexed Items” steps (count of theDatabases)
repeat with theDatabase in theDatabases
step progress indicator (name of theDatabase as string)
set theRecords to records of theDatabase – Children of root
repeat with theRecord in theRecords
if pAllRecords or theRecord is indexed then
synchronize record theRecord – Updates children of theRecord too
end if
end repeat
end repeat
hide progress indicator
on error error_message number error_number
hide progress indicator
if the error_number is not -128 then display alert “DEVONthink Pro” message error_message as warning
end try
end tell