Some Useful Script Fragments for Devonthink Pro

GET THE SELECTED TEXT

Use a keyboard command via System Events to copy the selection to the clipboard

PASTE TEXT

Use a keyboard command via System Events to paste the selection from the clipboard

OPEN A DTP BROWSER

This opens a new browser window in whatever display mode is active at the time.