TomCat Posted July 27, 2007 Share Posted July 27, 2007 Some Question is it possible to disable and enable again {ENTER} with an other Key using an Funktion ? And how to do this ? Link to comment Share on other sites More sharing options...
lod3n Posted July 27, 2007 Share Posted July 27, 2007 You could take a look at BlockInput. What are you trying to do, exactly? [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
qazwsx Posted July 27, 2007 Share Posted July 27, 2007 If you want to disable just one key use Hotkeyset and have the func do nothing for that key. Link to comment Share on other sites More sharing options...
TomCat Posted July 27, 2007 Author Share Posted July 27, 2007 What i will do is to disable the {ENTER} key during this sript run: Func _start() While 1;Repeat for ever.... Send($key1) sleep($sleep1) WEnd;Go back to top EndIf EndIf EndFunc and to enable it again if the script would stop or paused with a funktion link this Func _Pause() $Paused = NOT $Paused While $Paused sleep(100) WEnd EndIf EndIf EndFunc 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