DraftsApp & DevonThink 4.0b2

Or if you find the Sorter/Take Note window too small, you can use AppleScript. Example:

-- Create & open new markdown note in DEVONthink, ready to type

tell application id "DNtp"
	set newNote to create record with {type:markdown} in inbox
	open tab for record newNote
	activate
end tell

SCR 20250523-newMD

There are many ways to run a script with a keyboard shortcut, for example Keyboard Maestro or Raycast.

Raycast setup

Create script command. Template: AppleScript.
Wrap the script in on run / end run.
Find the command under Settings > Extensions. Assign a hotkey.

#!/usr/bin/osascript

# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title New MD note (DEVONthink)
# @raycast.mode silent

# Optional parameters:
# @raycast.icon 📝

# Documentation:
# @raycast.description Create markdown note in Global Inbox and open it ready to type

on run
	tell application id "DNtp"
		set newNote to create record with {type:markdown} in inbox
		open tab for record newNote
		activate
	end tell
end run

Mac and iOS are obviously different platforms. I shared an example with Shortcuts here. You can just delete the “Ask for input” action if you want to skip that.

4 Likes