As a newbie to Hookmark and DTP, could someone direct me how to use this AppleScript?
Does it go into the App section in Hookmark or is it a Script I run from the DTP AppleScript menu?
How does this integrate with with hook
Thanks
As a newbie to Hookmark and DTP, could someone direct me how to use this AppleScript?
Does it go into the App section in Hookmark or is it a Script I run from the DTP AppleScript menu?
How does this integrate with with hook
Thanks
Thereās a section on āAutomationā in DTās manual (which you find under the Help menu). It describes the usage of scripts as well.
Is Hook still necessary after the last update, because deep linking is now possible in DT3?
Hook is used for more than DEVONthink, so I guess that depends on your use of it.
Resurrecting this very interesting thread as it seems from a Hook YouTube video, it should now be possible to link directly to a page in a PDF opened in DT3 native pdf app.
Howeverā¦ when I try that, the hookmark link is: worldview management for better business_v1.2-edited & upgraded.pdf
and clicking on that link only takes me to the PDF in DT3, it does not open the PDF in DT3 to the correct page.
I tried to link to the page using Highlights App, and when I click on that link it opens the document in the Mac default app āPreviewā on the first page.
any suggestions?
thanks @AW2307
Iāll check this out.
however while this looks super helpful to automate the page number and make it visible, Iām not sure it will address my problem as the hook link does not seem to be ādeep linkingā at all. just taking me to the file in DT3, not opening the file in DTās pdf app, never mind opening it to the correct page!
there seems to be something more fundamentally wrongā¦
Did you modify the integration script in the Hookmark settings? The option to modify scripts is only available in Hookmark Pro as far as I know.
The default script doesnāt link to a specific page, so you need to add the one from this post:
tell application id "DNtp"
set theWindow to think window 1
if exists content record of theWindow then
set theURL to reference URL of content record of theWindow
set thePage to current page of theWindow
set theTime to current time of theWindow
if thePage is not -1 then
set theURL to theURL & "?page=" & (thePage as string)
else if theTime is greater than 0.0 then
set theURL to theURL & "?time=" & (theTime as string)
end if
return theURL
else if (count of selected records) is 1 then
return reference URL of selected record 0
end if
end tell