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
Demo-Extract-Table
Jump to navigation
Jump to search
Extract complete table with one command and save data to text file.
VERSION BUILD=10.4.28.1074 TAB T=1 TAB CLOSEALLOTHERS 'The name of file to store the extracted information 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 URL GOTO=http://demo.imacros.net/Automate/ExtractDemo ' 'Note: This macro can run the iMacros Browser, Firefox and the IE-Plugin 'But the EXTRACT button to start the extraction wizard is only in the IM Browser ' ' 'The first table is the list of currencies '=> Extract data of **2nd** table (POS=2) on page TAG POS=2 TYPE=TABLE ATTR=TXT:* EXTRACT=TXT 'The SAVEAS statement was added manually to write the extracted table to a file '(The alternative way to get the extracted data is the Scripting Interface) SAVEAS TYPE=EXTRACT FOLDER=* FILE=mytable_{{!NOW:yymmdd_hhnnss}}.csv WAIT SECONDS=3 URL GOTO=http://demo.imacros.net/Automate/OK