Powerful Tool for Searching in DEVONthink.
中文说明 • Download • How To Use • Configuration
NB: For DEVONthink 2.x, you should use the versions of this workflow before V7.0. Switch to Branch DEVONthink 2.x to access the README document and source code.
Sorry, no more updates as I no longer use a Mac computer and the installation of macOS virtual machine failed.
dnt + keywords
to search in all opened databases in Alfred. Search results are sorted by relevance score, consistent with DEVONthink.
dnts + keywords
to search in DEVONthink window.
Enter
to search in existing window.⌘Command + Enter
to search in a new window.dnd
to choose which datebase to search
Enter
, then type in keywords
to search in the chosen database.⌘Command + Enter
to list all tags in the database, then choose a tag and press Enter
to list all documents which have the tag.⌥Option + Enter
to list smart groups in the chosen database.dnm + tag1, tag2, ...
to list all documents which have these tags in all database. Tags inputed must be exact. For example, Tag aBcD
can't be inputed as aBc
or abcd
dnw
to list all workspaces, press Enter
to load the selected workspace.dnwa + WorkspaceName
to save current workspace named WorkspaceName
.dnf
to list favorites.dnsg
to list all smart groups in all opened databases.After documents were listed,
Enter
to open the selected file with external editor.⌘Command + Enter
to open with DEVONthink.⌥Option + Enter
to reveal result in DEVONthink.⇧Shift + Enter
to copy item's markdown link.→
, fn
, etc. to show file actions of Alfred. The keys are set in Features → File Search → Actions
of Alfred Preferences.Shift
or ⌘Command + Y
to QuickLook
the selected file.⌘Command + C
to copy DEVONthink link (x-devonthink-item://xxxx) of the selected file.ignoredDbUuidList
: ignore databasesdnt
and dnm
search in all opened databases. You can ignore some databases by setting ignoredDbUuidList
environment variable in Alfred workflow.
x-devonthink-item://1FC1A542-D8CA-4807-B806-8617966870B5
.1FC1A542-D8CA-4807-B806-8617966870B5
is the database's UUID.filterOutGroup
: filter out group and tag in searching resultYou can set environment variable filterOutGroup
to yes
if you want to filter out group and tag.
Alfred will ask for Automation permission to control DEVONthink when you run the workflow for the first time. You should check up permission of Alfred controlling DEVONthink in System Preferences → Security & Privacy → Privacy → Automation
if the workflow doesn't work.