Showing a Specific Date
Use the view calendar command to show a specific date in the calendar window. Listing 7-1 and Listing 7-2 show the current date.
APPLESCRIPT
tell application "Calendar"view calendar at current dateend tell
JAVASCRIPT
var app = Application.currentApplication()app.includeStandardAdditions = truevar Calendar = Application("Calendar")var date = app.currentDate()Calendar.viewCalendar({at: date})
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13
