Jump to content

Recommended Posts

Guest ischmael
Posted

Hello,

i will write a litte script that make a auto login in World of Warcraft with username and Passwort with click on the Login Button. I make it so:

WinWaitActive("WORLD OF WARCRAFT")

; Username

MouseClick ( "Username" , 480, 470 , 1 , 9999 )
Send("username")

; Passwort

MouseClick ( "Passwort" , 480, 431 , 1 , 10 )
Send("passwort")

MouseClick ( "Login" , 480, 546 , 1 , 10 )

But the first problem it that the Mouseclick on Login not enough is. World of Warcraft not assume this the click is to low.

the second problem is that the mouse movement to slow is and the Send command to fast :lmao:

I hope u can help me?!

Posted (edited)

WinActivate("World of Warcraft")
Sleep(2500)

; Username
MouseClick ( "left" , 480, 470 )
Send("username")
Sleep(1500)

; Passwort
MouseClick ( "left" , 480, 431 )
Send("passwort")
Sleep(1500)


;Click Accept
MouseClick ( "left" , 480, 546 )

Edited by Pickled
Guest ischmael
Posted

Hello,

Yes, im a noob o:)

Thanks for help i try it :lmao:

  • Moderators
Posted

If your "Login" button is not capturing the mouse click, then I would try this:

WinActivate("World of Warcraft")
Sleep(2500)

; Username
MouseClick ( "left" , 480, 470 )
Send("username")
Sleep(1500)

; Passwort
MouseClick ( "left" , 480, 431 )
Send("passwort")
Sleep(1500)


;Login
Mousemove (  480, 546 )
Mousedown ("left")
Mouseup ("left")

If I understand your post (and that's not easy), I ran into a similar situation and this is how I fixed it.

Hope this helps :lmao:

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
×
×
  • Create New...