SpaceObServer.Application.Print

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.Print

Description

Allows you to print any  SpaceObServer statistic (lists and charts).
 

Syntax

Print (ExportFullBranch : <Boolean>, IncludeHeader : <Boolean>, IncludeUnit : <Boolean>, [optional]Statistics : <String>)
 

Parameters

ExportFullBranch

Indicates, if the export will include the full directory branch or only expanded directories.

IncludeHeader

Indicates, if a header with general information about the root directory/drive will be included.

IncludeUnit

Indicates, if size units and thousand separator will be included in the export of the scantree, or if sizes are exported as plain numbers. Note: This parameter does not affect the export of any list except the scantree.

Statistics

(Optional Parameter) A semicolon separated list of charts and lists, which should be printed.
The table of the Export Statistics lists all accessible types of charts and lists.

Note: If this parameter is not set, the directory tree will be exported (default).

 
Example

$SOS.Print($True, $True, $True, "scantree; detailslist; piechart; historychart") #PowerShell

SOS.Print True, True, True, "scantree; detailslist; piechart; historychart" 'VBS

Creates a print output with fully exported directory branch, header and included size units. The  directory tree, the details list, the pie chart and the history chart of the current root will be printed.