Graham,

In 2005 I wrote a library to parse and generate vCards and iCalendar files. It 
is a very old library I wrote when I was still early in my LiveCode journey. It 
works but it is underdocumented. There are commands and functions to generate 
an iCalendar file and there are some “raw” vObject (the common part of vCards 
and iCal files) functions that can be used to parse them.

I don’t think this is a turn-key solution for your problem but it is a good 
starting point to develop your own solution. I’ve uploaded it to:

https://andregarzia.com/files/vObjectPackage.livecode.zip 
<https://andregarzia.com/files/vObjectPackage.livecode.zip>

The iCal part is not documented but it is on the source code. Learn the vCard 
documentation and you’ll get a feel for how the iCal part should work. Then, 
look at the source of “vObjectlib” substack for the command names.

Best
Andre

> On 19 Sep 2022, at 16:43, Graham Samuel via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Folks, I have not been following this list with great attention for the last 
> few months, nor doing active LC development, so I’ve missed a lot, but now I 
> have been asked to look into the possibility of an app that reads and writes 
> to standard calendars, particularly the kind used by Apple. I believe their 
> apps for Mac and iOS use some kind of open standard, and if so there must be 
> a useable API.
> 
> To save me lots of research, can I ask if anyone has worked with calendars 
> like these, and if so, can they point me to an easy way to get LC to talk to 
> them.
> 
> TIA
> 
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to