Mike Jackson
Mike Jackson

Reputation: 427

Can you get a handle to a document someone else has open and save an close it using lotuscript?

I have an agent that runs every 5 minutes looking for comment documents that have been open longer than 5 minutes. I would like to get a handle to the open document, save it and close it. Is this possible in Notes?

MJ

Upvotes: 0

Views: 59

Answers (1)

Newbs
Newbs

Reputation: 1632

I believe that the way to do this is with a NotesTimer object but you have to do this in the UI, not an agent. Initiate the NotesTimer in the PostOpen or PostModeChange UI events if the document is in edit mode. See the examples in the Domino Designer Help database for guidelines on implementing this solution.

Upvotes: 1

Related Questions