Forum rulesBefore asking a question or reporting an issue:1. Please review the list of FAQ's.2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.3. We can respond much faster to your posts if you include the following information:

Is there way to click multiple links on a search results page and save the content of each of the search result page ?

SCENARIO: I have a search form and when a keyword search is performed it would display all the pages that match the search results. I want to open each of the pages that match the search and save the content as a Text File.

Scenario Example and Macro Code: I go to http://www.Dice.com, the advanced job search page, search for a Keyword like "Java" and click the search button. I would get a results page with various jobs that match the criteria, I want to click each of these jobs and save the content and click the "Back to search results" link taking me back to the saerch results page. I want to continue saving every resulting job page like I did the 1st one.

I am using VB script to do this, my first macro would be the searching Macro and I want to second macro to be a click link, save it and take me back to the search results. The second macro would loop for all the links in the search results page.

The variable {{myloop}} would be 1...x, until all results are extracted

Important note: I created this TAG command by changing the clickmode from automatic to "Use URL". The reason for this is that the TAG commands that are created by default use the TEXT of the link like in

J've got a quesion:Is there a possibility to LOOP scripting only on the selected fragment, not whole scipt ex.I need to visit a result page of a search, then save with CPL method each one by entering link privided- step back to previous page, and use second link & save it (there goes LOOPing all the results)- and what is the syntax used for "stepping back", sth like javascript:history.back();

If you find that you want to loop over parts of macros you should consider how you can split the macro.

Although I don't fully understand your example, it would seem that the first macro should obtain the results page and then a second macro would do the actions for each link looping through each of the links.

In terms of stepping back, most websites provide navigation tools that iMacros can automate, such as a "return to search results" button. Often search results pages don't respond well to clicking the back button on your browser having followed one of the links.

How is this navigation done manually? Do you have to re-do the search each time? If so, then perhaps you do need to loop through the whole macro each time.

The splitting macro solution perfectly fits here while redoing the search isn't needed. It's beacuse the script should obtain each link provided, execute it and save the contents or just maybe put those links in the table as a variable. Then the script will simply extract each row for a link and save it - but does iMacros support that operation?

Whitch solution will be the best here, that's what I'm asking for and if you could just type the ex. source code I would be grateful.