"Paste as Link" (links selected text to clipboard contents)

Little one-liner that makes turning text into links easier. What used to be a two step process of “make link” and then “edit link” is now just a single key chord:

-- Save as "Paste as link___Cmd-Shift-Alt-L.scpt"
tell application "DEVONthink Pro"
	set URL of selected text of think window 1 to (the clipboard as text)
end tell

Assuming that what’s on the clipboard is a meaningful URL or record name (for wiki links).