Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How to contine clicking by index.. after the first click.

$
0
0
I want to click on a link and go do some work.. line in a subroutine... but each time I cause the specific indexed link to click I assume its visiting the site in the same window i am in and is killing my program... is that correct... I tried having the url add a '_NEW' but that did not seem to work... I suppose I could set up a frame and direct the click there but I am not even sure that is the problem....
Bottom line is I can click any link by INDEX, but when I do that thing the program will not move to the next one...
Is there a solution for this.. PLEASE.

Basically I have 30 links on the page and I want to click on every other one... like 12 then 14 and do some work between each one before moving on to the next one... but not working for me..

$oIE = _IECreate(@ScriptDir & '\available_work.htm')
Sleep(9000)
_IELinkClickByIndex($oIE, 12)
Sleep(5000)
_IELinkClickByIndex($oIE, 14)
Sleep(5000)


Viewing all articles
Browse latest Browse all 12506

Trending Articles