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 5: | Line 5: | ||
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. | ||
− | === Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]]=== | + | === Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]]=== |
Extraction result or #EANF# (Extraction Anchor Not Found). | Extraction result or #EANF# (Extraction Anchor Not Found). | ||
− | |||
=== Set By === | === Set By === |
Revision as of 13:39, 10 October 2012
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