PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > ExportTable
ExportTable

Description:

Export the indicated table (by index) in the format specified to a text file.

Syntax:

"ExportTable tableIndex formatType  fileName onlySelected"

where:

“tableIndex” corresponds to the index of the table in the ini file under the section [TableConfigurations] (see also Edit Tables Dialog), ”formatType” is 1=comma separated (CSV), 2=tab separated, 3=fixedWidth, “filename” the full path of the file, and “onlySelected” controls whether only selected items or all items are exported 1=only selected items, 0=all items.

Sample "ExportTable 5 1 c:\temp\TestExport.txt 1"

Return:

"1" if export is successful or "0" if this command failed. 

Example:

"ExportTable 1 1 c:\temp\TableExport.txt 0"

return "1"