Copy Page Link - keyboard shortcut?

Is there any way to create a keyboard shortcut for the Copy Page Link command? I know the shortcut for copying the item link, but I use page links more frequently.

It’s only possible to define shortcuts for items of the main menu, therefore it’s unfortunately not possible.

<removed … not the script the OP was looking for>

Thanks for the reply.

I can’t get it to work, however. I compiled the script and used Keyboard Maestro to launch it from a keyboard shortcut, but nothing is copied to the clipboard.

Could it be that this line "tell application id “com.devon-technologies.thinkpro2"” needs to be changed since I’m using Pro Office?

You have to have a PDF open in a DEVONthink window and a page selected.

Sorry, I see now that it does create a link but not the type of link that I need.

Is it possible to modify the script to get a link such as this (i.e. the “normal” kind):


or even better, HTML-link:

Name of linked document and page number

Anyone know how to do this?