Jump to content

Help with first script


Taelor
 Share

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")

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

  • Moderators

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

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...