I am a newb to LotusScripts. I need the help of all you gurus. If possible please include some code/script that shows how to mark a document in a view as selected.
Is this even possible to do?
Thanks in advance!!
I am a newb to LotusScripts. I need the help of all you gurus. If possible please include some code/script that shows how to mark a document in a view as selected.
Is this even possible to do?
Thanks in advance!!
Subject: how to select a docuement in an agent?
Check your Help file:
Call notesUIView.SelectDocument( notesdocument )
Collin
KC8TKA
Subject: RE: how to select a docuement in an agent?
Thank you for your response.I would like to have the agent select 2500 documents beginning with the first one. How would the Call notesUIView.SelectDocument handle that? Would this work:?
While not count = 0
Call notesUIView.SelectDocument(count)
wend
Thanks so much for your help!
Subject: RE: how to select a docuement in an agent?
There’s several ways to do it.Scanning down through the NotesView/NotesViewEntry collection to get
them in order is what I’d do.
Subject: RE: how to select a docuement in an agent?
Thank you for your help. I’m very interested in the “why” of your approach. I like to learn different ways to look at a problem. Would you mind elaborating with an example? THANKS!!!
Subject: RE: how to select a docuement in an agent?
I’d take that reason because it would work through the sort order. I don’t know whether or not that is important to you, but I assumed so.
Otherwise you could simply loop through the documents individually from the NotesView.GetFirst/GetNextDocument direction.
Collin
KC8TKA