About Calendar Scripting
In OS X, scripting allows you to automate complex, repetitive, and time-consuming tasks by writing scripts that control apps, processes, and the operating system.
The OS X Calendar app has scripting support for interacting with and manipulating calendars and events using AppleScript or JavaScript. Through scripting, you can create calendars and events, subscribe to remote calendars, add attendees to events, set alarms, locate and display specific events, and more. These tasks can be performed on their own, or they can be combined with tasks in other apps to construct powerful workflows that save time and increase productivity.
Accessing Scripting Terminology for Calendar
An app’s scripting terminology is described in a scripting dictionary, which describes the commands, classes, and properties the app supports. Figure 1-1 shows terminology for the application
class in the Calendar scripting dictionary.
Launch Script Editor, found in
/Applications/Utilities/
.Choose File > Open Dictionary.
Select Calendar, and click Choose.
For detailed information about viewing and navigating the scripting terminology of apps, see Access Scripting Terminology in Mac Automation Scripting Guide.
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13