This workflow allows you to search your DEVONthink documents from within Alfred. It supports DEVONthink Personal as well as DEVONthink Pro (with multiple databases)
Download and import into Alfred 2.
devon [your search string]
- Search in all databases
devondb [your search string]
- Search in specific database
devondb!
- Refresh database list
The association between database names and uuids can only be obtained via AppleScript. This is done automatically if you run the devondb
command for the first time. The information is then cached for better performance. If you add a new DEVONthink database later on, you'll have to run the devondb!
command to refresh the database list.