erezlevi Posted December 2, 2007 Share Posted December 2, 2007 hi, Is there a way to block the user from tuching the keyboard or mouse for a giving time (3000msec) while the script is doing something on the desktop? thanks, Link to comment Share on other sites More sharing options...
zfisherdrums Posted December 2, 2007 Share Posted December 2, 2007 Hello erezlevi, Try this: BlockInput( 1 ) ; Do Something BlockInput( 0 ) Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... Link to comment Share on other sites More sharing options...
searchresult Posted December 2, 2007 Share Posted December 2, 2007 to block mouse you can use use #Include <Misc.au3> _MouseTrap([$iLeft = 0[, $iTop = 0[, $iRight = 0[, $iBottom = 0]]]]) It will put mouse cursor in a position you entered and to release mouse just use it like this _MouseTrap () you have it in a help file Link to comment Share on other sites More sharing options...
James Posted December 2, 2007 Share Posted December 2, 2007 BlockInput(1) is much easier. However, this doesn't block Ctrl+Alt+Del Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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