Extracting folder names from database

Someone knows how to extract all of the folder names in a given path of a DTPO database? For example Database “Stuff” as a group “Months” containing 12 subgroups (1 for each month) and so on. I would like to be able to extract the names from the path in order to be able to set dates to create an iCal event.


Here’s a simple example:

tell application "DEVONthink Pro"
	name of children of (parent named "Months" in database named "Stuff") whose type is group
end tell

Just replace the name of the group and database.

Thanks Christian,

This got me started in setting up my digital tickler file system and produce a script to link to ical/BusyCal (as described in the Blog section!).