Keyboard Maestro (9.2) is unable to control Devonthink

  • Model Identifier: MacBookPro16,1
  • System Version: macOS 11.3.1 (20E241)

Hi DevonTech,

Preciously, I have used Keyboard Maestro to control DevonThink 3 Server edition.

Today, I noticed that one of my macros is not working anymore.

I am doing a keyboard shortcut to select the address is Safari, and paste the contents as a markdown link into Devonthink. But Keyboard Maestro is unable to activate Devonthink as an application.

I am attaching my macro, if you are interested…

I have used this macro as is for several years, so I am not sure why I have lost this capability. During this time, Keyboard Maestro has been updated at a far slower rate than Devonthink (that is a compliment), and I am positive that this version of Keyboard Maestro (9.2) has worked with previous versions of Devonthink.

One other thing I have noticed, is that Keyboard Maestro does not even have the option to control Devonthink in the Security & Privacy System Settings… see screenshot.


Works over here (but still using Mojave).

You could use an Execute AppleScript action and save its result to a variable. Of course this only helps with this particular macro.

-- Get current Safari tab as Markdown link

tell application "Safari"
		if not (exists window 1) then return ""
		set theURL to URL of current tab of window 1
		set theName to name of current tab of window 1
		return "[" & theName & "](" & theURL & ")"
	on error error_message number error_number
		if the error_number is not -128 then display alert "Safari" message error_message as warning
	end try
end tell

1 Like