ListColumnVisible¶
SpaceObServer.Application.Properties.ListColumnVisible
Description
Use this property to set the visibility of any columns for any type of list export.
Syntax
property ListColumnVisible(ListType : <String>, InfoType : <String>): <Boolean>;
Parameters
- ListType
Defines the type of list for which the column visibility should be changed.
Available list types are:
- detailslist
Exports the details list.
- extensionslist
Exports the extensions list.
- userslist
Exports the users list.
- topfileslist
Exports the top 100 files list.
- dupfileslist
Exports the duplicate files list.
- scanslist
Exports the list of scans.
- ConfigureScans
Exports the information of the Configure Scans dialog.
Note
By default the lists will be exported with the columns that were last used in the user interface.
- InfoType
Defines the column which should be set to visible or invisible. The table of the Information Types values lists all accessible information.
Example
PowerShell:
$SOS.ROOTDirectory = "C:\"
$SOS.ListColumnVisible ("detailslist", "Folders") = $False
$SOS.ListExport("C:\SpaceObServer Exports\DetailsExport.txt", "detailslist", $False, $False, $False)
VBS:
SOS.ROOTDirectory = "C:\"
SOS.ListColumnVisible ("detailslist", "Folders") = False
SOS.ListExport "C:\SpaceObServer Exports\DetailsExport.txt", "detailslist", False, False, False
This will deactivate the “Folders” column before exporting the DetailsList.
Remarks
The default visibility of the columns is the last used configuration in the SpaceObServer user interface. In order to configure the visible columns for the directory tree exports you can use the ExportColumnVisible property.