Macro Scheduler 15

IEExtractTableByName

IEExtractTableByName>IE_Reference,Frame,Name_Or_ID,Filename,RemoveCRLFs,Result

 

Extracts a table to a CSV file. Specify the name or ID of the table on the page in name_or_id.

 

IE_Reference must be an identifier value returned by IECreate, IEGetFromURL or IEWaitNew.

 

Specify the frame name, or leave frame blank if no frame (top level document).

 

To remove carriage returns and line feeds from the output data set RemoveCRLFs to 1. Otherwise set RemoveCRLFs to 0.

Returns 0 if successful, 1 if an error occured.

 

See also: IE Functions

 

Example

 

IEExtractTableByName>IE0,,customers,c:\my documents\table.csv,1,r