Taelor Posted September 19, 2006 Share Posted September 19, 2006 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") MouseMove(880,555) MouseClick("left", 880, 555) MouseMove(650,775) MouseClick("left", 650, 775) WinWaitActive("Magic Online V2.0.064.1436") <----waits, but.... send("+{t}aelor{TAB}$password") MouseMove(1095,265)<-------------------------------doesn't wait, but i want it to. MouseClick("left", 1095, 265) whats the best way to achive this wanted action? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 19, 2006 Moderators Share Posted September 19, 2006 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. 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