I am using the Opus iMacro add-on with Internet Explorer. The following Macro takes a variable from the first line of my excel CSV File and performs a search on a website. The search results from the website may be anywhere from 10 to 200 records, which are grouped 20 per page (1-10 pages). The macro then extracts each page to a text file for future reference.
My challenge is to figure out a way to cancel the “SAVEAS” if there are less than 10 pages of search results. For instance, if the search only returns 60 results, the Macro only needs to perform the SAVEAS command 3 times (20 x 3). How can I move to the next {{!LOOP}} without saving the same text file 7 more times?
I have tried the “!FAIL_ON_ALL_NAVIGATEERRORS” command, but the macro stops entirely. I would like to move to the next record instead of stopping the macro.
I think that the inevitable conclusion is that I will have to tackle this problem using VBScripts. Do you have any ideas for me or can you point me in the right direction? Thanks.
I think that the inevitable conclusion is that I will have to tackle this problem using VBScripts. Do you have any ideas for me or can you point me in the right direction? Thanks.