Jump to content
Sign in to follow this  

Help with first script

Recommended Posts


Here is a simple login script. But it does not work as inteded. The last pair of commands goes off before the name and password is typed in.

WinWait("Magic Online Install/Update Agent")


MouseClick("left", 880, 555)


MouseClick("left", 650, 775)

WinWaitActive("Magic Online V2.0.064.1436") <----waits, but....


MouseMove(1095,265)<-------------------------------doesn't wait, but i want it to.

MouseClick("left", 1095, 265)

whats the best way to achive this wanted action?

Share this post

Link to post
Share on other sites

Put Sleep(1000) after Send() and Before MouseMove() and see if that fixes it. Also you can remove the MouseMove() functions, MouseClick will move the mouse and click the x and y coords you have chosen.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.