Jump to content

Slow mouseclick/mousemove

Recommended Posts

Hi, i hope this is an appropriate section to ask in but what is wrong with my code, even when i put the speed to 1 it takes a good 4-5 seconds before it actually moves.

Here is the code

Func Start()
    $Search = _ImageSearchArea('PauseMusic.png',1,0,0,1920,1080,$X,$Y,150)
    If $Search = 1 Then
        MouseClick("Left", $X, $Y, 1)

Could someone help me find the documentation or example on how to search for multiple images such as play music and volume but in order?

I'm a beginner

Share this post

Link to post
Share on other sites

Probably because your searching in whole screen. try search in a little area. If you have you windows you probably know that the button you want to press is between 400,500 and 500,600 that will make the search faster.



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

  • Create New...