Selecting documents using script

Hi,

If I have a view w/ 30,000 documents and only want to select 5,000 documents from the view, how can I go about using lotus script.

Thanks

Jacob

Subject: selecting documents using script

what is unique about the 5,000 you are wanting to select?