Using Hook in new Evernote for Mac Desktop App

Thanks Katie. Appreciate your advice. Yep…Too bad for us (but I can still use the “older” EN app - so not all is lost). EN 10 now removed from my computer! BTW have provided feedback to EN requesting they reinstate support for Hook integration…let’s see what happens.

3 Likes

We confirm that AppleScript is not available in Evernote 10. Evernote are aware of this issue of course; and in their view AppleScript is not relevant because not a lot of people use it. Yet the number of people who program in AppleScript is just a fraction of the people who use utilities that are written in AppleScript. It’s as if Apple would say we’re deprecating Objective-C because only a small % of our users know how to use it, ignoring the fact that there are thousands of times more people who use apps written in objective-C than actually program in Objective-C.

Hook is not limited to AppleScript for communicating with apps. Hook can use a CLI, JavaScript, whatever… Users can even fully / programmatically customize interaction between Hook and any other app. As long as data in an app can be linked via automation, Hook can do its job.

We will have a look at their APIs and update Hook accordingly when there’s support for linking.

We recommend getting in touch with Evernote; we offer this email template.. One might also want to link to the current web page in one’s message to them. We here will do the same.

I highly recommend DEVONthink. DEVONtechnologies is obviously firmly committed to macOS, iOS and iPadOS :blush: . DEVONthink has a very active Mac user base–who answer questions and offer utilities. DEVONthink supports several different sync technologies (including iCloud)-- one doesn’t need to use Evernote’s servers. Etc. etc. etc.

Here’s a web page of ours on integration with DEVONthink.

3 Likes

Evernote 10 is an Electron app. I do not know of many (any?) Electron apps that support AppleScript. Electron apps are built on cross-platform web technologies. I assume it would be a deviation from the universal-app philosophy Evernote embraced by choosing Electron for it’s major rewrite if the macOS version supported AppleScript.

I don’t think we’ll see AppleScript again. JS maybe. Evernote historically has not embraced third-party add-ins.

I installed the Evernote Legacy version so that I could use DEVONthink 3 to extract all my Evernote notes into a new database. @LucB’s DEVONthink recommendation is good advice.

:woman_mechanic:t2: Katie

2 Likes

Related: Inkdrop is also an electron app. The developer added a plugin bridge to make Inkdrop linkable: inkdrop-hook-integration - Plugin - Inkdrop. As far as I recall, it took him less than a day to do it. Involves a shell script rather than AppleScript.

1 Like

It does appear that Evernote 10 is not fully finished; the company says some significant functionalities will be returned to it. Crossing my fingers that this is true.

2 Likes

Thanks Katie and @LucB for your very helpful replies. While I have retained access to the previous version of Evernote Desktop (which works), I tend to agree that Evernote is likely heading down a road where this sort of functionality is not going to be supported. And while I acknowledge that contacting Evernote and asking for their support is one way forward, I also tend to believe it will be nothing by a lone voice in the wilderness. I have been thinking of moving to DEVONthink and putting it off. But based on the advice you both offered I may now take the step I have been putting off and abandon Evernote completely in favour of DEVONthink. Once again, thank you both for your response and advice. I really do appreciate it.

I have seen others recommend EagleFiler and Keep It as “alternatives” to Evernote. I don’t have experience with them so cannot guess at what “alternative” means in each case. I don’t know if either of them work with Hook.

Just worth mentioning that there are other, less costly, options beside Evernote and DEVONthink.

Good Luck :four_leaf_clover:
Katie

1 Like

I dumped Evernote several years ago in favor of Keepit, (though I also use DevonThink). I use Keepit for PDFs mainly. Easy to get them in there, lots of methods. Syncs across all devices, including Mac and phone/iPad. Supports Hook, has file provider interface on iOS. Files stored are accessible from finder. Allows links to its items to be stored elsewhere.

2 Likes

recommend EagleFiler and Keep It as “alternatives” to Evernote.

they both work with Hook. We wrote help pages and a blog post earlier on EagleFiler integration.

1 Like

Evernote just had another update. Maybe this is a good sign, from the release notes: “Internal links can now be independently copied as either evernote:/// (in-app links) or www.evernote.com (shareable web links)”

2 Likes

Here’s a UI scripted version of integration with Evernote 10. It’s the get address script.

set the clipboard to ""


tell application "System Events" to tell process "EverNote"
repeat 50 times -- poll clipboard for ~2.5 seconds
	
	key code 8 using {control down, option down, command down}
	
	delay 0.05
	
		try
			if (the clipboard) is not equal to "" then
				exit repeat
			end if
		end try
		delay 0.05
	end repeat
	
end tell
set myUrl to the clipboard
set myTitle to ""
if myUrl is not missing value and length of myUrl is not 0 then
	
	tell application "Hook"
		try
			set aBookmark to bookmark id myUrl
			
			if aBookmark is not missing value then
				set myTitle to name of aBookmark
			end if
		end try
		if length of myTitle is 0 then
			repeat until length of myTitle is not 0
				
				set myName to display dialog "What is the title of the note?" default answer ""
				set myTitle to text returned of myName
			end repeat
		end if
		return "[" & myTitle & "](" & myUrl & ")"
	end tell
	
end if

If anyone tries it , please let us know and we might include it in Hook.

NB: there’s we don’t see a reliable way yet to get the title of a note, nor Hook to New. But you can rename links in Hook. (And it could be that with some elbow grease one could get the title.)

So Evernote users should think long and hard before downgrading to Evernote 10.

Hopefully Evernote will learn from Obsidian and other developers that it is easy to write a wrapper around an electron app to deliver automation to Mac users.

Having said that, as was the case before Evernote 10, in my humble opinion, DEVONthink is preferable to Evernote for most Mac users because, well DEVONthink is committed to macOS and has several major distinctive advantages.

Yep, this works in the new Evernote. I am cross-platform (Android phone) and haven’t found any replacement to Evernote yet.

1 Like

Hi! You say one can rename links in hook. How can that be done?

Sorry about that, I should have said “in Hook 2.2 you will be able to rename hooks”. (I’ve become too accustomed to the internal builds).

Waiting for this also!

1 Like

Hi @LucB I tried the Evernote get address script you posted above and it doesn’t work. In fact I’ve also tried it back in December (also didn’t work) but thought that maybe a hook update will resolve the issue. Anyway, I’m on Mac Catalina 10.15.7, Hook Version 2.2.1 (4004), and using Evernote 10.5.7

Thanks for letting us know. Unfortunately, Evernote has basically broken all prior client side automation. Hopefully they will follow through with some APIs we can use.

Even before Hook, DEVONthink and cloud share solutions were IMO a much safer bet than putting loads of one precious information in Evernote; and so many times Evernote has proven this to have been prudent advice.

Still you can paste any Evernote URL into Hook’s find tool to get your linked information. And the other side of the hooks work. As long as a URL is valid, you can use it with Hook.

While we’re on the subject, we will be releasing an additional set of link tools in Hook :wink:. Very excited about that… That will also make Hook work better with the latest Evernote.

1 Like

I’ve found this script works great in the new version of Evernote. What’s not obvious is that, after naming your note, you still need to press Command+C or click Copy Link (or Copy Markdown Link) in Hook in order to actually copy the link.

We’ve published an updated script that works with both versions of Evernote: Evernote 10 Integration — workaround for Evernote pulling its AppleScript automation - Discussion & Help - Hook Productivity Forum. I’m closing this topic so that we can continue the conversation there.