The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "Demo-Extract-Table"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Extract complete table with one command and save data to text file. | Extract complete table with one command and save data to text file. | ||
− | + | VERSION BUILD=6000524 | |
− | + | TAB T=1 | |
− | + | TAB CLOSEALLOTHERS | |
− | + | URL GOTO=http://www.iopus.com/imacros/demo/v5/extract.htm | |
− | + | SIZE X=801 Y=602 | |
− | 'The name of file to store the extracted information is specified with the FILE= attribute of the SAVEAS command | + | TAG POS=1 TYPE=TABLE ATTR=TXT:<SP>CADCHFEURGBPJPYUSD* EXTRACT=TXT |
+ | 'The SAVEAS statement was added manually to write the extracted table to a file | ||
+ | 'The name of the file to store the extracted information to is specified with the FILE= attribute of the SAVEAS command | ||
'The FOLDER=* attribute indicates that the default folder is used. You can specify another folder with FOLDER=c:\yourfolder | 'The FOLDER=* attribute indicates that the default folder is used. You can specify another folder with FOLDER=c:\yourfolder | ||
− | + | SAVEAS TYPE=EXTRACT FOLDER=* <nowiki>FILE=mytable_{{!NOW:yymmdd_hhmmss}}.csv</nowiki> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_ | ||
− | |||
− |
Revision as of 08:40, 4 July 2007
Extract complete table with one command and save data to text file.
VERSION BUILD=6000524 TAB T=1 TAB CLOSEALLOTHERS URL GOTO=http://www.iopus.com/imacros/demo/v5/extract.htm SIZE X=801 Y=602 TAG POS=1 TYPE=TABLE ATTR=TXT:<SP>CADCHFEURGBPJPYUSD* EXTRACT=TXT 'The SAVEAS statement was added manually to write the extracted table to a file 'The name of the file to store the extracted information to is specified with the FILE= attribute of the SAVEAS command 'The FOLDER=* attribute indicates that the default folder is used. You can specify another folder with FOLDER=c:\yourfolder SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhmmss}}.csv