Script: Open DEVONthink record for PDF Expert tab

I don’t use Adobe but downloaded a demo. After spending far more time than I thought it would take I’m quite sure Adobe got a serious problem with AppleScript.

This is a vaild statement, I think:

tell application id "com.adobe.Acrobat.Pro"
	try
		set theWindows to windows
		if theWindows = {} then error "Please open a window"
		set theDocuments to documents
		
	on error error_message number error_number
		if the error_number is not -128 then display alert "Acrobat Pro" message error_message as warning
		return
	end try
end tell


This is what Adobe Acrobat retuns:

It’s of course possible I overlooked something but it seems it’s just not possible to get the path of Adobe Pros’s current tab. (I did try a lot more than what’s shown in the script - to no avail)