LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: How to update the $AssistAction item in a LotusScript agent?

How to update the $AssistAction item in a LotusScript agent? (by Kenneth Haggman, 12/16/2004 02:29:30 PM)

Hi Normunds.

I hope you can help me out here, as I seem to have stuck.

I have created a tool that can work on the LotusScript contents of various design elements like Script Libraries, Forms, Views, etc.

My problem now is how to update the $AssistAction item of a LotusScript agent.

The content of the item can be read fairly easy (using NSFItemInfo and NSFItemInfoNext) by just skipping the first 14 bytes of the item, which seems to be a binary header of some sorts.

Perhaps using the AgentLSTextFormat is a better way to "grab" the contents? I haven't tried this API yet but I'll give it a go.

But how do I update the item? If I try to just write the plain LotusScript text back to the item (without the binary header), the agent gets corrupted.

How do I go about to get the binary header there before the text?

I have looked in the reference db backwards and forwards but I can't find what I'm looking for.

Are you able to help me out here?