Jump to content

Hotkey BlockInput


Recommended Posts

hey guys im working with this

#NoTrayIcon
HotKeySet("!v", "Block")

Func Block()
    BlockInput(1)
    sleep(5000)
    BlockInput(0)
EndFunc

what im tryin to do

is hit Alt + V and it blocks input for 5 seconds

then unblocks...

but when i run it

it doesnt do anything...

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...