Home | Appendix

|  |  | Toolbar Scripts

Scripts can also be added to the toolbar of any DEVONthink window. While there is a limited amount of space available in a window's toolbar, this is a handy way to launch commonly used scripts with one click. To add a toolbar script place the script into the folder `~/Library/Application Scripts/com.devon-technologies.think/Toolbar`. In order for the script to be available for use in the toolbar, you must quit and relaunch DEVONthink. Then Control-click the toolbar of a DEVONthink window and choose View > Customize Toolbar. Drag your script into the toolbar and it's ready for use. Terminology Unlike some other script types, there are no special handlers required for a toolbar script. You only need valid AppleScript talking to DEVONthink.
Example: tell application id "DNtp" open tab for record (content record) end tell