Sorting list of calendar events
Sorting list of calendar events
- Subject: Sorting list of calendar events
- From: Jan Erik Moström <email@hidden>
- Date: Thu, 16 Apr 2015 09:48:40 +0200
- Authorized-sender: email@hidden
I haven't been writing applescript for several years so I've forgotten almost everything. However, I'm now trying to cobble together an applescript that reads today's events from the Calendar, I then going to create a simple text note from this.
My problem is that I want to entries sorted by time so that the first event of the day is always first etc.
I use this line to get the events
set theEvents to every event whose ((start date of it) ≥ (todayDate) and (end date of it) ≤ (tomorrowDate))
but how to I do the sorting?
_______________________________________________
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