Jump to content

Disable/Enable one Key with an other?


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...