FileCataloger

is very useful software for file catalog and file search. Regardless the file is in the CD-ROM, DVD, hard disks, removable and network drives etc. The program catalogs contents of your media, and makes it available for offline browsing and searching.

filecataloger.com > Script > Object -- Catalog Item List

Catalog Item List Object

Remarks:
The Object represents a file catalog item list. Support standard VB collection.
Property:
Name Description
Count Retrieve the count of a file catalog item list.
Functions:
Name Description
Item Retrieve a catalog item object from the list. The value is default.
Add Add a catalog item object to the list.
Remove Add a catalog item object to the list.
GetItemEx Retrieve a catalog item object from the list.
example:

Dim il
Set il = CreateItemList()

if IsObject(il) Then
MsgBox "CreateItemList is ok."
else
MsgBox "CreateItemList is fail!" & GetLastErrorMessage()
End If

il.Add(CatalogDB.CatalogRoot)
il.Add(CatalogDB.SearchGroup)

MsgBox "ItemList Add is ok."

Dim RootByIndex, RootByName
Set RootByIndex = il(0)
Set RootByName = il("Lib")

MsgBox "ItemList Get is ok."

MsgBox "ItemList Count is " & il.Count

il.Remove(CatalogDB.CatalogRoot)
il.Add(CatalogDB.CatalogRoot)
il.Remove("Lib")
il.Add(CatalogDB.CatalogRoot)
il.Remove(0)

MsgBox "ItemList Remove is ok."

   
See Also:

Catalog Group List Object

CreateItemList Function

CreateGroupList Function

Run script from file in FileCataloger

All Rights Reserved About Us