For various reasons, I’m transitioning back to using Evernote (from Apple Notes). Long time user of Hook/ Hookmark… I know Evernote doesn’t do scripting. I’ve made sure Hookmark is updated to current version (and see the Address script there for Evernote).
If I use Hookmark to copy an Apple Note, finder file or folder, etc (shift-control-opt-cmd-C), and paste into Evernote, those appear to be links in Evernote, but when I click on them, nothing happens. Is there a way to get this to work?! (all works fine in Apple Notes)… thanks.
Thanks for the quick reply!.. If I invoke Hookmark for either a file in Finder, or a note in Apple Notes, I get “No linkable item found in Hookmark”… perhaps missing something simple?
Thanks- I looked over that document. Mac was just restarted this morning… I did try entering that terminal command, but get this:
emory@Emorys-MacBookPro ~ % tccutil reset Accessibility com.cogsciapps.hook
tccutil: No such bundle identifier “com.cogsciapps.hook”: The operation couldn’t be completed. (OSStatus error -10814.)
To be clear, as an example, in Apple Notes, if I copy the note link, using shift-control-opt-cmd-C the link DOES copy to my clipboard. But if instead I open Hookmark, it says no linkable iterm.
Yes, thanks for the edit… so that did reset the prefs successfully. I rebooted MB Pro (OS 15.5), re-enabled Hookmark in Accessibility. Still no linkable item for an apple note or just a finder file. It feels odd that the keyboard shortcut to copy the link works, but no linkable item seen in hookmark.
Appreciate your help- let me know if any other thoughts. I was really hoping to move back to Evernote, but without links to other apps (files, folders, Spark emails, etc), may just have to stick with apple notes…
Could you post a screenshot of Hookmark window for an Apple Note?
Also, could you go to Hookmark Settings window ->Scripts->Finder->Get Address, replace the script with the following script, and click on save button. Then invoke Hookmark on a selected file in Finder, post all the output here.
Thank you
tell application "Finder"
display dialog "In Finder script"
try
set theItems to selection
set n to count of theItems
if n = 1 then
try
set ext to name extension of item 1 of theItems
if ext = "hook" or ext = "HOOK" or ext = "hookmark" then
set filepath to item 1 of theItems as alias
return read POSIX path of filepath
end if
end try
get URL of item 1 of theItems
else
set thePath to (POSIX path of (target of the front window as string))
set filepath to "file://" & thePath
end if
on error msg
display dialog msg
end try
end tell
ok- major progress now! I was just opening hookmark (invoked using Alfred)… Using Ctrl+H works (and then CMD-C to copy link)… thanks. Now circling back to Evernote issue. I now see that if I use Ctrl-H, then opt-cmd-C to copy universal link, that DOES work in Evernote (for both files, Apple Notes, and even Spark)- that’s great!
I think I saw this request before in the forum, but is there a way to not have to go thru those 2 separate keyboard shortcuts to get the universal link?!
Yes, you can configure in Hookmark settings window->Shortcuts. First, you need enable “Copy As Universal Link” check box. Then type in the shortcut. Please make sure this global shortcut is not used by other APPs.
My bad… was troubleshooting on other mac, which had 6.9 installed. But… Setapp shows 6.10 installed, while “about” on the Hookmark app shows 6.9! I tried quitting/ restarting them, but not changing… (this is on MB Air; all fine now on MB Pro)
One more question… using the iOS Hookmark beta… When clicking on one of those “universal links” (for Spark mail, which I also use on iOS) in Evernote, I get popup that universal links only work in Safari… I use Arc, but I assume even if using Safari, it would not open a Spark email (as it does on Mac)?