How can I insert the extracted information back into same web page?
Top  Previous  Next

Q: I require macros that can extract simple text data from a web page and then insert the extracted information back into either the same web page or another web page. I do not need to store this data in any way. In effect all I need to do is copy and paste the text data.

A: Extracted data is saved in the !EXTRACT variable. You can assign the extracted value to a variable and use it again at a later point in your macro.

EXTRACT POS=29 TYPE=TXT ATTR=<TD>*
SET !VAR1 {{!EXTRACT}}
...
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f1 ATTR=NAME:n1 CONTENT={{!VAR1}}





Page URL http://www.iopus.com/imacros/help/faq_extract_insert.htm