Is not foolishness. I just don't know how to differentiate the two links.
What I did was add an index obj_chkDots("index").value=1. This works
as long as there is a ... link for next. But at the end it will click on the
... going back. So I was getting in an infinite loop since it couldn't find the page it would go ahead and then back and then ahead and then back.
I made a variable pagecnt and set to 0. Every time I successfully clicked on a page link it would set it to 0. When I clicked on a ...
it would add 1 to it. If it got to 2 then I knew it couldn't find the page
and so I ended the program.
Kind of kludgy but works. Would still be interested in other's ideas though.
What I did was add an index obj_chkDots("index").value=1. This works
as long as there is a ... link for next. But at the end it will click on the
... going back. So I was getting in an infinite loop since it couldn't find the page it would go ahead and then back and then ahead and then back.
I made a variable pagecnt and set to 0. Every time I successfully clicked on a page link it would set it to 0. When I clicked on a ...
it would add 1 to it. If it got to 2 then I knew it couldn't find the page
and so I ended the program.
Kind of kludgy but works. Would still be interested in other's ideas though.