|
![]() |
AppleScript |
AppleScript is an automation technology introduced by Apple in 1993. Over the years it has matured and become the friend of many Mac users wanting to exert more control over their computing experience. Written in an easy to learn, almost conversational language, it offers a tremendous amount of power with less effort than many languages. DEVONthink has very robust AppleScript support and comes with many built-in scripts. These, and those you write or obtain, make it possible to automate nearly every aspect of the application, and to integrate the application with almost every other macOS application that supports AppleScript. Installation Add-On Scripts: All add-on scripts that come with DEVONthink are automatically installed or updated when you open a new version of DEVONthink for the first time. You can, however, manually (re-)install them by choosing DEVONthink > Install Add-Ons. The scripts from this panel are installed in a number of locations:
DEVONthink Scripts: The internal scripts found in DEVONthink's
Scripts menu are installed in
Additional scripts, like those you write yourself, can be put into any of these folders to be used in these contexts. Other scripts that may include integration with DEVONthink can be located wherever it's convenient. Script Shortcuts Many people like mousing around their applications, while others like to use their keyboards. If you want to add keyboard shortcuts to scripts in this menu, you have two options:
Learning AppleScript While this documentation is not an AppleScript language guide, all the scripts that come with DEVONthink are editable and can be explored or modified as you see fit. The separate sections in this chapter provide any required terminology and a simple example script or two. Additionally, there are some great resources available online and in print. For the official archived documentation, refer to Apple's AppleScript web site. Some additional resources are listed below: Online: |