DW1 Posted June 27, 2007 Share Posted June 27, 2007 without using the trapmouse function is there a way to disable the mouse from user input? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Bert Posted June 27, 2007 Share Posted June 27, 2007 why? Serious question here. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
DW1 Posted June 27, 2007 Author Share Posted June 27, 2007 The script I wrote click a button that it finds dynamicaly through a UDF I wrote. Everything works fine as long as you do not move the mouse right after you click the button in the script GUI. I already have the speed set to 0 (instant) for the mouse click, but still, if you move the mouse fast enough it will fuck up. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
DW1 Posted June 27, 2007 Author Share Posted June 27, 2007 I just want to disable user input to the mouse, do about a quarter second worth the stuff and then give control back. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Wolffe Posted June 27, 2007 Share Posted June 27, 2007 Check out BlockInput in the help files. I think that will do what you want. Of course it also shuts out the keyboard. But it does not sound like that will be a big deal in this case. Link to comment Share on other sites More sharing options...
DW1 Posted June 27, 2007 Author Share Posted June 27, 2007 thank you Wolffe AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Bert Posted June 27, 2007 Share Posted June 27, 2007 When you use blockinput(1), start it, do your mouseclick, then use blockinput(0). That way the user won't see much disruption, and you can make the app more stable. Did you look into doing a controlclick on the control you are working with? It may be a better approach to your issue. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
DW1 Posted June 27, 2007 Author Share Posted June 27, 2007 I have used controlclick for most of the mousing that needs to be done, but this program that I use internaly at work is really weird and doesn't play nice with control commands The BlockInput worked fine for what I needed though AutoIt3 Online Help 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