Determining the default CalendarName in Calendar
Determining the default CalendarName in Calendar
- Subject: Determining the default CalendarName in Calendar
- From: Bill Vlahos <email@hidden>
- Date: Sat, 16 May 2015 11:46:33 -0700
AppleScript can create a calendar event using the following code.
tell application "Calendar" activate tell (first calendar whose name is calendarName) set vEventInfo to make new event at end of events with properties {summary:theSummary, start date:startDate, end date:endDate, description:theDescription, location:theLocation}
How can I remove the requirement to specify the calendarName and have it just use whatever is set as the default calendar in the Calendar application?
Thank you,
Bill Vlahos _________________
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden