Can you make a deep PDF linking in DevonThink's PDF?

Just like PDF PenPro or skim?

3 Likes

Yes, that would be awesome. Iā€™ll second that.

1 Like

Anyone care to ask on the DEVONthink forum whether they have an API for deep linking? Or peak in their AppleScript dictionary. They have one to get the link itself.

I havenā€™t been able to get PDFPenPro or Skim to generate PDFs on my computer. I donā€™t know why because they used to work fine.

do you mean PDFs or links? Skim is not a generator ( PDFpenPro can create links).
Regarding Skim, please see macOS 12.1 AppleScript issues affecting Skim - Discussion & Help - Hook Productivity Forum. Skim dev has published a link, mentioned in that post, to a build that works around the macOS AppleScript issue.

I believe, that Devonthink has no capability to do deep linking. They do have ā€œCopy Page Linkā€ for a designated pdf page and an included search term which give the first entry of the search of the given page.

For exampe:
devonthink-item://03A24339-83EF-440A-9BC6-34F2E53AEA95?page=4
&search=Quantification%20of%20Response%20Tendencies%20With%20Multinomial%20Modeling

gives me a hacky deep link with a jumping to the selected text. (Text is not highlighted with any annotation tool)

The first parameter is indicated by ? and the second parameter by &. If there are more than one matches, there wonā€™t be any search highlightsā€¦ Therefore the used search selection must be unique.

@LucB Do you maybe can tell me how I can peek into the Applescript dictionary?

Super! I would think even just the first page is a great start. Havenā€™t tested yet, but it means users can use use ā€œCopy Page Linkā€ as of today. We should easily be able to add Hook to make it behave like it does with other PDF apps and websites.

I will have a look and one of us here will update Using Hook with DEVONthink by DEVONtechnologies ā€“ Hook when the dust settles.

(Aside: I myself PDFs directly on Mac. I donā€™t read PDFs on mobile devices. I do read ebooks on them however.)

Thereā€™s Hookā€™s AppleScript Dictionary ā€“ Hook , which is very concise because the dictionary is short , documented and pretty simple. It was in the AppleScript dictionary that we first exposed that Hook is in fact a new kind of bookmark manager, but that went unnoticed at the time.

1 Like

hooking pdf in skim failed ļ¼Œand the hooking link created before all failed :cry: :cry:;but hooking pdf in PDFpen pro is successfulļ¼
my MacBook pro version is Monterey 12.1ļ¼›and in my another MBP laptopļ¼ˆbig sur 11.6ļ¼‰ļ¼Œthe hooking in skim is successfulļ¼›
so where is the problemļ¼Ÿļ¼Ÿļ¼Ÿ
Mac OS version, Skim ,or Hook??

I am unable to link PDFs from DevonThinkToGo at all. (Not even referring to deep links) Either by going to the share sheet or when selecting text. Am I missing something?

Here is your solution:

I think that you should ask this question in the correct forum section. Just a friendly reminder.

Hello,
it would be nice, if hookmark could implement deep linking via the search query :slight_smile:

1 Like