macOS Reminders and Calendars database

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

macOS Reminders and Calendars database

Post by ElZitouni » Wed Sep 15, 2021 3:38 pm

Dear Developers,
how could I access and read out the database containing the reminders and calendar entries of apple's Reminders.app and Calendar.app for macOS?
Many thanks for your help,
Olli.

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: macOS Reminders and Calendars database

Post by Klaus » Wed Sep 15, 2021 4:38 pm

Hi Olli,

maybe with AppleScript?


Best

Klaus

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

Re: macOS Reminders and Calendars database

Post by ElZitouni » Wed Sep 15, 2021 4:39 pm

Hello Klaus: I interpret your response in that from within livecode there is no way to access these macOS databases? Best wishes, Olli.

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: macOS Reminders and Calendars database

Post by Klaus » Wed Sep 15, 2021 5:00 pm

Hi Olli,

sorry, I don't know...


Best

Klaus

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: macOS Reminders and Calendars database

Post by Klaus » Wed Sep 15, 2021 5:21 pm

You could check the content of folder ~/Library/Calendars and see if that makes any sense to you. :D

stam
Posts: 2635
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: macOS Reminders and Calendars database

Post by stam » Wed Sep 15, 2021 8:59 pm

I think the files in ~/Library are binary and probably not easily useable (although happy to be corrected!)

Apple has included a fairly usable applescript API for accessing data like this.

A cursory search shows a simple examples of this - here's a youtube link for accessing the reminders.app data in simple way, but i'm sure you can probably find what you need digging into AppleScript.

Link: https://www.youtube.com/watch?v=bi48YIiLOTA

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

Re: macOS Reminders and Calendars database

Post by ElZitouni » Wed Sep 15, 2021 9:48 pm

Thank you for the link to the video. I have also found a method in python. I'll see whether and how an applescrip; however, I have had never success in executing an applescript out of livecode in the past. It just never worked, and I was never sure what went wrong ...

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”