Easiest way to get a ordered list of calendars from iCal w/out AppleScript
Easiest way to get a ordered list of calendars from iCal w/out AppleScript
- Subject: Easiest way to get a ordered list of calendars from iCal w/out AppleScript
- From: Eric <email@hidden>
- Date: Sun, 17 Sep 2006 11:43:15 -0700
My application needs to get a list of writable calendars from iCal in
the same order as they appear in iCal. I know AppleScript does this
easily, but it's undesirable in my case to launch iCal (which AS does)
if it's not already running.
I've looked into obtaining this info directly from the
~/Library/Application Support/iCal folder. Namely, obtain the
calendars from the iCal/Sources directory, and the order information
from iCal/nodes.plist. Problem with this is nodes.plist is updated
only when iCal quicks, so the information is out dated while iCal is
running.
Right now I'm looking into the Sync services API to achieve this, but
it's already looking to be too much trouble for just getting a list of
calendars. But I may be jumping to conclusion here.
I've seen many applications that shows a list of calendars, such as
iSync. How do they do it is the question.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden