Automated re-indexing of folders triggered by new content

Hi- I know this has been touched on in some posts, but- as far as I can see- not resolved.

I have a lot of content held in a folder structure on my hard drive but indexed in my DevonThink database. I regularly add new content across a whole range of folders which have been previously indexed. I would love to be able to automate a re-index procedure triggered by new content appearing in certain folders.

Has anyone done this before? It would make synchronisation a whole lot easier.

The easiest approach is probably to use a triggered script instead of folder actions, see viewtopic.php?f=3&t=4473

This script can be also found on the disk image (Extras > Scripts > Examples > Synchronize.scpt)