Accept Meeting Invitation programmatically. How?

Anybody tried to accept appointment or task notices programmatically or could share a LotusScript code to achieve that? Any information on this would be very appreciated.

I need to write an agent, that would accept only particular notices.

Edmundas