Copy title to clipboard

Is there any quick way (Keyboard shortcut?) to copy the title of the selected entry to the clipboard?

No. But you could add a simple script to ~/Library/Application Support/DEVONthink Pro 2/Scripts:


tell application id "DNtp"
	set theSelection to the selection
	if (count of theSelection) is 1 then
		set the clipboard to (name of (item 1 of theSelection)) as string
	else
		beep
	end if
end tell

If you use e.g. the filename “Copy title___Cmd+Ctrl+C.scpt”, then the shortcut would be Cmd-Ctrl-C.

Works a treat. Thanks!

However I cannot get the shortcut working: I tried as filename


Copy title to clipboard___Cmd+Ctrl+C

and


Copy title to clipboard___Cmd-Ctrl-c

but the shortcurt does not show up in the menu:

Script menu entry without shortcut_Screen Shot 2018-07-11 at 23.48.27.png

This was just an example, maybe this shortcut is already used by another menu item?

CMD-CTRL-C is Copy Ruler.

Of course :blush: Obviously there are already too many menu items and shortcuts :mrgreen:

I named mine copy title___Opt-C.scpt and it works as expected with Option-C.

That must have been the problem - specifying another shortcut works. Thanks!