Get the name of the "current group" as a string value?


I want the name of the “current group” as a string value in applescript, I tried:

tell application "DEVONthink Pro"
	set atest to current group
	display alert (atest)
end tell

which doesn´t work, any ideas?


Best regards, S.

Ok, figured it out by myself:

tell application "DEVONthink Pro"
	set theGroup to current group
	set thesource to name of theGroup
end tell