Hallo!
Ich denke mal, du willst das ganze in einem Agenten lösen.
Den lässt du nach "ausgewählten Dokumenten" suchen.
Auszug Notes Hilfe:
UnprocessedDocuments property
Read-only. The documents in a database that the current agent or view action considers to be "unprocessed." The type of agent determines which documents are considered unprocessed.
Hinweis This property is not implemented in COM.
Defined in
NotesDatabase
Data type
NotesDocumentCollection
Syntax
To get: Set notesDocumentCollection = notesDatabase.UnprocessedDocuments
Das Script sähe dann so aus:
Dim ses As New NotesSession
Dim db As New NotesDatabase
Dim col As DocumentCollection
Set db = ses.CurrentDatabase
Set col = db.UnprocessedDocuments
In der Collection col sind dann alle ausgewählten Dokumente!