scripting:api:document-iterator:first

Action unknown: addtobook

First

Method of IDocumentIterator

Sets iterator to collection start, and returns first item (file path)

var psPath = DocumentIterator.First();
psPath = DocumentIterator.First
BSTR sPath;
HRESULT hr = DocumentIterator.First(&sPath);