ScriptsAPIAPI OK JSON offers APIs to let you interact with the app and macOS. To distinguish from the JavaScript APIs, these APis are prefixed with $. For example, you can use $utility.getClipboardText in your JavaScript scripts to get the clipboard text. UtilityAlertTextHistoryIncludeSchemeUtility