Re: AppleScript Date
Re: AppleScript Date
- Subject: Re: AppleScript Date
- From: john Mitchell via AppleScript-Users <email@hidden>
- Date: Mon, 6 Jul 2020 18:02:38 +1000
I am using Calendar.app to create events in my diary.
I cannot get a text string of the date (& time) to be accepted
tell application "Calendar"
set eventRef to (make new event at end of events of calendar
eventCalendar with properties ¬
{start date:startDate, description:eventDescription, allday
event:allDay, status:none})
startDate has the value “10 July 2020" and I get this message
Calendar got an error: Can’t make "10 July 2020" into type date. -1700
What am I doing wrong?
regards
John
Email: email@hidden • Mob: +61 410 318 131
_______________________________________________
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