Jump to content

Recommended Posts

Posted

Hello, I wrote simple autoit program to click on certain parts of the screen but I can't get the cursor to move faster betweeen clicks. For example, I have this simple code:

MouseClick("", 400, 400, 1)

MouseClick("", 200, 100, 1)

it would take a while for the cursor to move from 400 400 to 200, 100. How can I get the cursor to move instantly?

  • Moderators
Posted

You don't have anything for the speed parameter.

MouseClick('Primary', 400, 400, 1, 1)

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.

Posted

MouseClick('Primary', 400, 400, 1) if slow (default speed)

MouseClick('Primary', 400, 400, 1, 1) is fast (speed set to 1)

MouseClick('Primary', 400, 400, 1, 0) is instant (speed set to 0)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...