kevinward13 Posted June 8, 2011 Share Posted June 8, 2011 (edited) How do i click this button <a href="javascript:" ARID="536870909" ARType="Control" ARDBN="Accept" class="btn btn3d arfid536870909 ardbnAccept" style="top:419; left:153; width:64; height:19;z-index:998;"><div class="btntextdiv" style="top:0; left:0; width:64; height:19;"><div class="f9" style=";width:64">Accept</div> with this ControlCommand($sWindowTitle, $sWindowText, "Accept", "IsEnabled") Then ControlFocus($sWindowTitle, "[CLASS:btn; INSTANCE:1]") ControlClick($sWindowTitle, "Accept") ? Edited June 8, 2011 by kevinward13 Link to comment Share on other sites More sharing options...
kevinward13 Posted June 8, 2011 Author Share Posted June 8, 2011 nevermind. I found the solution. after reading more. Java isnt supported with autoit yet.. correct? Also for security reasons, i decided to not auto click the warning message. So i decided to do this. WinWaitActive ($sWindowTitle) ; MsgBox(0, "Accept", "Accept the Warning...") WinWaitClose ($sWindowTitle) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now