Help > Reference > Macros > Category object

Category object

The Category object represents a category, assigned to documents in the search results. Use Categories property of Tab object to get reference to the categories collection.

Example

Set FSO = CreateObject("Scripting.FileSystemObject")
Set Output = FSO.CreateTextFile("c:\output.txt", True)
For Each Category in App.ActiveTab.Categories
  Output.WriteLine Category.Name & " - " & Category.Count
Next

Category properties