Accessing Mac OS Calendar

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ElZitouni
Posts: 33
Joined: Sun Oct 14, 2012 10:43 pm

Accessing Mac OS Calendar

Post by ElZitouni » Sat Jul 30, 2016 11:26 am

Hello,
I would like to access the information stored in the Calendar databases on my Mac that the Calendar app or other apps use (like BusyCal etc). Is that possible using live code? And if so, how?
Thanks,
Olli.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Accessing Mac OS Calendar

Post by [-hh] » Sat Jul 30, 2016 4:30 pm

LC 8.1.0-dp3 already registers itself in the privacy tab of MacOS as an app that can be allowed to have access to Calendars.

The user has to allow that separately for each requesting app (only possible with administrator rights and NOT by script).

I don't know how to access this protected data via LiveCode.
It is certainly possible but, as far as I know, not (yet) implemented.
May be for a widget library? May be using FFI (Event Kit framework for iOS)?
shiftLock happens

ElZitouni
Posts: 33
Joined: Sun Oct 14, 2012 10:43 pm

Re: Accessing Mac OS Calendar

Post by ElZitouni » Mon Aug 01, 2016 9:12 pm

Thank you for the reply -- Indeed, my question is more about how to access the private calendar data after receiving permission to do so.

Post Reply

Return to “Mac OS”