JAFN Posted March 21, 2011 Share Posted March 21, 2011 I've got an app that uses mouse routines that click certain areas. The problem is that a few of the clicks require tight precision and slight mouse movements seem to throw of the routine. Is there a way to lock out the mouse during the routine? [size="2"]The second mouse gets the cheese[/size] Link to comment Share on other sites More sharing options...
JohnOne Posted March 21, 2011 Share Posted March 21, 2011 BlockInput() In the time I'm been using autoit3, i've never come across a time/reason I would ever need it, and it can cause problems for a user, not to mention discomfort when someone causes their computer to not respond to their own input. 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 More sharing options...
AdmiralAlkex Posted March 21, 2011 Share Posted March 21, 2011 You should look into using ContrlClick() and it's brethren instead, then the mouse can do whatever it wants .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
JAFN Posted March 21, 2011 Author Share Posted March 21, 2011 The problem with Control... is that they use ControlID. As I am trying to click on a Chrome page this becomes problematic. If I am wrong in thinking this please show me how. I will play around with BlockInput() Thanks. [size="2"]The second mouse gets the cheese[/size] Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 21, 2011 Share Posted March 21, 2011 I hear it may work without ControlID.But if you mean Chrome as in the web browser, then to automate browsing you really should be using the IE (look at "IE Management" in the helpfile) or FF (look link <-- link) UDF. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
JAFN Posted March 21, 2011 Author Share Posted March 21, 2011 I hear it may work without ControlID.But if you mean Chrome as in the web browser, then to automate browsing you really should be using the IE (look at "IE Management" in the helpfile) or FF (look link <-- link) UDF.Wash your mouth out for suggesting IE.I can't go back to FF. It feels so slow now.But BlockInput worked just fine and control is only blocked for maybe a 10th of a second, if that.I always appreciate the swiftness of response and the courteousnesses of the members.This a very polite forum, and I never feel talked down to.Thanks for your help and time. [size="2"]The second mouse gets the cheese[/size] Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 21, 2011 Share Posted March 21, 2011 Wash your mouth out for suggesting IE.That makes little to no sense in the context of this thread.Thanks for your help and time.You're welcome .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Carlo84 Posted March 22, 2011 Share Posted March 22, 2011 Wash your mouth out for suggesting IE.maybe if you actually checked out the UDF and saw what it whas capable off ;-) _SplashProgressImage | _Regionselector | _IsPressed360 | _UserAccountContol_SetLevel | _ListSubFolders Link to comment Share on other sites More sharing options...
JohnOne Posted March 22, 2011 Share Posted March 22, 2011 maybe if you actually checked out the UDF and saw what it whas capable off ;-)The OP just thinks IE is to slow.Personally I dont see that much difference, and the functionality of the IE UDF certainly offsets any speed issues with other browsers when trying to automate something.I think this speed thing is something people like to cling onto from the past.I'd recommend to anyone to try IE9. 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 More sharing options...
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