Jump to content

ControlClick fails and MousClick is *slow*


Recommended Posts

So i figure controlclick will usually not work on a window where u dont specify control in a function parameter like

controlclick("windowname", "", "", "left", 1, x, y)

Using mouseclick() even with all speeds set to 0(for fastest click) it still moves the mouse very slow before clicking actually.

Is there anything that can be done so mouse clicks fast as if it used ControlClick?

Link to comment
Share on other sites

@JohnOne

It all works fine and fast but i need it to be instant like controlclick is. Since i am using it for shortcuts of some application.

@rogue5099

it works fine but the window where i want to apply this has no text or control, its just the damn window thats known

But you know what is the weird thing?

On some windows i can use control click without specifying text or control in the arguments but on this window it wont work :)

Edited by Aktonius
Link to comment
Share on other sites

The only time I have ever seen mouseclick() moving slow is when it is set slow in the call or the processor is at 100% usage, that is what I was getting at.

Do you have sufficient sleep times in any loops you may be using?

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

The only time I have ever seen mouseclick() moving slow is when it is set slow in the call or the processor is at 100% usage, that is what I was getting at.

Do you have sufficient sleep times in any loops you may be using?

Its fast as i said but any ideas why controlclick would fail on some window?

Its not like its syntax error i am sure i do the right argument filling

Link to comment
Share on other sites

Its fast as i said but any ideas why controlclick would fail on some window?

Its not like its syntax error i am sure i do the right argument filling

"Using mouseclick() even with all speeds set to 0(for fastest click) it still moves the mouse very slow before clicking actually"

This needs to be addressed.

It could be that your code is hindering you.

You made a point of this, and rightly so, something is not right there.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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