次のスクリプトは、[By Category] ビュー内の全エントリに対するビューナビゲータを作成し、「My Favorites」フォルダに 2 番目のエントリを入れます。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim nav As NotesViewNavigator
Dim entryA As NotesViewEntry
Dim entryB As NotesViewEntry
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
Set nav = view.CreateViewNav()
Set entryA = nav.GetFirst
Set entryB = nav.GetNext(entryA)
Set doc = entryB.Document
Call doc.PutInFolder("My Favorites")