Copy Selection and Link

The Copy Selection and Link command copies both the current selection and a link to the current document. In compatible PDF apps, the link is deep.

The Copy Selection and Link command is accessible from the Title menu (or ⌃Q, for “quote”).

This new command is extremely handy when you are doing research. (It is another “first of its kind” CogSci Apps invention.)

Accessing the command

To access the command:

  1. Select some text in one of the compatible apps.
  2. Invoke Hookmark (⌃H).
  3. Press ^Q (the control key and Q together).

or

  1. Select some text in one of the compatible apps.
  2. Invoke Hookmark.
  3. Click on Hookmark’s Title menu.
  4. Click on Advanced.
  5. Click on Copy Selection and Link.

…then paste the text anywhere.

Deep PDF Links!

When you use the Copy Selection and Link command within a compatible PDF app, the link created by Hookmark will be a deep link! That means, when you click on the link, you will be taken to the specific page and line in the PDF that contains the material you’re linking to.

Here’s an example of the command applied to a PDF downloaded from ResearchGate: Mental perturbance:

Perturbance, more generally, is diminishment of the already limited human capacity to control one’s own attention with respect to a particular cluster of motives. Consider a limerent’s diary entry “This obsession has infected my brain. I cannot shake those constantly intruding thoughts of you. Every thought winds back to you no matter how hard I try to direct its course in other directions.” (Tennov, 1979 p. 49). Thus, a key feature of limerence is that meta- management processes cannot easily suppress motives nor prevent them from holding one’s attention once they surface.
Beaudoin-2020-MentalPerturbanceAnintegrativedesign-orientedconceptforunderstandingrepetitivethoughtemotionsandrelatedphenomenainvolvingalossofcontrolofexecutivefunctions-Beaudoin2020cm-10.21810sfuer.v13i1.1282.pdf

The deep link will work if that file is in Finder (of course), and if you use a deep-linking PDF app (eg. PDFpenPro or Skim). See apps.

In Preview, you can get a link and quote, but the link is not “deep” (when you click on it, it doesn’t bring you to a specific location in the PDF).

Compatible apps

Initially, this new command is only enabled for:

  • PDFPenPro (yields deep links)
  • Preview
  • TextEdit
  • XCode
  • Skim (yields deep links)

We expect to add other apps to this list. But not all apps will be supported, given technical and functional constraints.

Who can benefit from this?

This feature is great for researchers, lawyers, writers, students and others who work deeply with text.

Troubleshooting

If you are using a clipboard manager, you should add Hookmark to its list of apps to exclude from managing. (See this topic.)

For more information, or if you have questions, please visit the Hookmark Forum.

Disabling the command

You can disable the command by applying the following incantation in the macOS Terminal app:

defaults write com.cogsciapps.hook enableCopyLinkAndQuote 0

Be sure to press the ‘Return’ key after that.