Jump to content
Sign in to follow this  
Guest ischmael

problem with MouseClick

Recommended Posts

Guest ischmael

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?!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Yeah I dunno about you, but my mouse doesn't have a "Login" button. :)

<{POST_SNAPBACK}>

ROFL o:)

Hey we all had to start somewhere :lmao:

Share this post


Link to post
Share on other sites
Guest ischmael

Hello,

Yes, im a noob o:)

Thanks for help i try it :lmao:

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...