Syncing Indexed files question

I’m making a move to go with indexed files and, though not using Dropbox, my DT database will be fully dependent on indexed files from my Finder and File System. I use DTTG regularly in editing files (mostly Rich Text) and also creating new ones. My sync takes place over my local network when my devices are home. I’m wondering how to have DTTG send those newly created notes over to my Mac File System and change them to indexed as all the others.

I think I found my answer in a post elsewhere by Greg_Jones here:

It is correct-documents in an indexed folder in the Finder will auto-update in DEVONthink, but documents created in DEVONthink in an indexed group will not automatically be exported out of the database to the indexed folder in the Finder. The thinking here is that you may want to mix documents in an indexed group-say index PDFs that you want available to other apps while keeping annotation documents in the same group, but available only from DEVONthink.

You can somewhat automate 2-way sync by attaching a triggered script to the group in DEVONthink.

on triggered(theRecord)
	try
		tell application id "com.devon-technologies.thinkpro2"
			deconsolidate record theRecord
		end tell
	end try
end triggered

When you attach this script to indexed groups in DEVONthink, selecting the group (to activate the trigger) will export all database documents (and sub-groups) in the group out to the Finder.