I am using Applescript and SQLite to sync my calendar application (Tcal, developed in Livecode) with the calendar.app of OSX.
I cannot find on the web a solution for my problem:
if the user deletes an event on the Calendar.app, how can I found out, from the point of view of my app Tcal, if the event wasn’t already there in first place?
I run trough the many data available on the “Calendar cache” file (user/library/calendar) but none of the database tables seem to track a delete.
Since the Calendar.app can be synched to other calendars, I would suppose that it is keeping track of every delete and edit of events and, may be, Applescript can access this.