Evernote help with links

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.

Thank you for contacting us, @epetrack .

For non-https URL, please do Hookmark “Copy as Universal Link”, then paste the link in Evernote. Please give it a try.

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?

The issue could be related to system permissions or corruption in the TTC database.

Could you please try restarting your Mac to see if that resolves the problem?

If the issue persists, please visit the following page for troubleshooting steps:

We recommend starting with section 1.1: “Your accessibility permission database is corrupted.”

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.

Are you using SetApp version? Then the command should be:
tccutil reset Accessibility com.cogsciapps.hook-setapp

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…

Does Hookmark work with other APPs?

Are you using Hookmark 6.10? If not, please update to 6.10. Then post a screenshot of Hookmark window with “No Linkable item…” error message.

Thank you

Yes, using 6.10.

Thank you, @epetrack .

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

Here you go- thanks-

Thank you for the screenshots, @epetrack .

How did you invoke Hookmark window? It seems Hookmark is in foreground. Sorry I missed that.

If you use Ctrl+H or Shift+command+space(Depends on your Shortcuts setting in Hookmark Settings window), what do you get?

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.

Thanks- This is strange, but my Keyboard Shorcuts prefs look different, not showing Copy as Universal Link (see image)- what am I missing?!

Post your Hookmark about window please.

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)


NEVER MIND- Just tried again quitting both setapp and hookmark, and it now did update to 6.10… THANKS for all your help!

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)?

I just tried the universal link for Spark mail on iPhone and it seems to be working fine. I use Safari.