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 "!EXTRACT"
m |
|||
Line 1: | Line 1: | ||
Contains the extraction results. | Contains the extraction results. | ||
− | If in one macro several EXTRACT commands appear then the results are separated by the string [EXTRACT]. This tag is automatically translated into | + | If in one macro several EXTRACT commands appear then the results are separated by the string [EXTRACT]. This tag is automatically translated into comma when using the SAVEAS TYPE=EXTRACT command. |
If complete tables were extracted then adjacent table elements are separated by the string #NEXT# and ends of table rows are delimited by the string #NEWLINE#. These tags are automatically translated into commas and newlines when you use the SAVEAS TYPE=EXTRACT command. | If complete tables were extracted then adjacent table elements are separated by the string #NEXT# and ends of table rows are delimited by the string #NEWLINE#. These tags are automatically translated into commas and newlines when you use the SAVEAS TYPE=EXTRACT command. |
Revision as of 19:50, 13 August 2009
Contains the extraction results.
If in one macro several EXTRACT commands appear then the results are separated by the string [EXTRACT]. This tag is automatically translated into comma when using the SAVEAS TYPE=EXTRACT command.
If complete tables were extracted then adjacent table elements are separated by the string #NEXT# and ends of table rows are delimited by the string #NEWLINE#. These tags are automatically translated into commas and newlines when you use the SAVEAS TYPE=EXTRACT command.
Value
Extraction result or #EANF# (Extraction Anchor Not Found).
Set By
[X] Internal
Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.
Examples
Fill in the value of !EXTRACT into a form field:
TAG .... CONTENT={{!EXTRACT}}
Reset content of EXTRACT:
SET !EXTRACT NULL
Add the value of the first CSV column to the extracted result:
ADD !EXTRACT {{!COL1}}
See Also
ADD, Web Scraping & Data Extraction, Extract text from dialogs, Demo-Stopwatch, Demo-Extract