Jump to content

Click button this button


Recommended Posts

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 by kevinward13
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...