Copying PDF text to the clipboard

A few years back I had a script that would copy the text of a selected PDF to the clipboard. With all the DT updates it has gone missing.

Anybody have a copy? or code?

Thanks

Bob

A simple script without error handling looks like this:


tell application "DEVONthink Pro"
	set theText to the plain text of the content record
	set the clipboard to (theText as string)
end tell

Thanks

Bob