Aktonius Posted April 3, 2011 Posted April 3, 2011 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?
JohnOne Posted April 3, 2011 Posted April 3, 2011 Mouseclick with 0 speed has always been instantanious for me. probably some problem with your code. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Rogue5099 Posted April 3, 2011 Posted April 3, 2011 Try using AutoIt Window Info Screen Shot below.Then try to run this script (this is an example of ControlClick, there are easier approchs to open IE!):Send("#r") WinWait("Run") Send("iexplore.exe") ControlClick("Run", "OK", 1) My projects: Inventory / Mp3 Inventory, Computer Stats
Aktonius Posted April 5, 2011 Author Posted April 5, 2011 (edited) @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 April 5, 2011 by Aktonius
JohnOne Posted April 5, 2011 Posted April 5, 2011 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.
Aktonius Posted April 5, 2011 Author Posted April 5, 2011 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
JohnOne Posted April 6, 2011 Posted April 6, 2011 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.
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