Page 1 of 1

search google, open all the results

Posted: Mon Feb 29, 2016 1:20 am
by imacronev
I want to give an imacro program a keyword, and then it searches google and opens all 10 or 100 results links. I think I can figure the rest out, but not the links 1, 2, 3, etc.

If I record it I get ATTR text, like this:

Code: Select all

TAG POS=1 TYPE=A ATTR=TXT:Cell<SP>Phone<SP>Data<SP>Plans<SP>|<SP>Best<SP>Data<SP>Deals*
TAG POS=1 TYPE=A ATTR=TXT:Compare<SP>Cell<SP>Phone<SP>Plans<SP>|<SP>Verizon<SP>Wireles*
TAG POS=1 TYPE=A ATTR=TXT:Unlimited<SP>Data<SP>Plans<SP>For<SP>Cell<SP>Phones<SP>-*
TAG POS=1 TYPE=A ATTR=TXT:Cell<SP>Phone<SP>Plans<SP>|<SP>Cheap<SP>Cell<SP>Phone<SP>Pla*
But I want to just give it 1 through 10, or use a loop.

The trouble is, they are all POS=1. Is there a different way to address the 10 links on the Google search results, instead of the specific text ATTR? Like, can I tell imacro to open the next link, then the next one, and so on? Or can I say the first POS=1, then the next POS=1?

thanks

Re: search google, open all the results

Posted: Mon Feb 29, 2016 11:57 am
by IrishMacro
You can try using HREF instead of linktext to find the link
http://wiki.imacros.net/TAG#Following_links

To find the next link after a link you can use POS=R1 (relative postioning)
http://wiki.imacros.net/TAG_parameters_ ... ositioning

Re: search google, open all the results

Posted: Mon Sep 05, 2016 9:12 am
by imacronev
thank you