Calendar Alarm

I’m trying to figure out how the calendar in a users mail file runs the alarms that trigger either emails or popups etc.

I just cannot see where it comes from. Is it an agent? I’m assuming the ($Alarms) view has something to do with it. Really I just need to see the code

Essentially I want to mimic this behaviour in another calendar application.

Thanks

Subject: Calendar Alarm

It’s hard-coded in the client, and it gets it’s “where do I look” info from the MailServer and MailFile lines in the notes.ini file. So you can’t just piggy-back your functionality onto what’s there without wiping out the users’ normal alarms. You would need to create a “polling window” into the taget application, then periodically check for documents that are in the time window for the alarm.

Andre Guirard wrote a similar polling application for an article for The View:

http://www.eview.com/eview/viewr5.nsf/0/e41f89dac17c2b5885256a55007c9557

You’d need to be a subscriber to read the article, but the database is there for download and the code is pretty clear and well-documented. You should be able to adapt it to provide the sort of functionality you are looking for.

Subject: RE: Calendar Alarm

Thanks for that Stan, it’s a shame it’s little more complex than I was hoping. I’ll take a look at that link though.