jern50
asked on
Simulate MouseClick
For a specific debugging routine I need a stand-alone script that will simulate a continuously clicking mouse. I assume that it will link some type of onmousedown and onmouseup action in a continuous loop. Most of my programming involves webpages and I any background in stand-alone scripts. I'd appreciate any suggestions on where to start.
you can actually forget the link name.
<html>
<body onload="setInterval('docum ent.links[ 0].click() ;',1000);" >
<a href="http://www.google.com" target="_blank">Google</a>
</body>
</html>
this is going to simulate the Google link being clicked every 1000 miliseconds
that's a start. please feel free to post if you need more help.
<html>
<body onload="setInterval('docum
<a href="http://www.google.com" target="_blank">Google</a>
</body>
</html>
this is going to simulate the Google link being clicked every 1000 miliseconds
that's a start. please feel free to post if you need more help.
ASKER
Thanks for the solution, but I need to simulate a mouseclick. Like clicking an "Okay" button repeatedly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<body onload="setInterval('docum
<a href="http://www.google.com" name="thisLink" target="_blank">Google</a>
</body>
</html>