Sign in to follow this  
Followers 0
James

BlockInput()

5 posts in this topic




Hello,

I was just wandering is it possible to block input with one HotKey, then if the same hotkey is pressed it unblocks the keyboard etc?

Thanks,

James

Since BlockInput is in action basically you cannot input any keys, but you can do it this way

Set all the hotkeys to a do nothing func, except the 1

Keep the mouse pos by pulling a loop

If deactiviate it, press the hotkey and unset all the hotkeys so the key actually do something.

Hope i helped.

Share this post


Link to post
Share on other sites

Thats just a long way of doing things.

Hmm, there must be another way, although I could do yours.

It's actully shot if you pull a loop and do some calculations, i was suprised when i found it in Toady's MarcoRecorder Script.

Share this post


Link to post
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
Sign in to follow this  
Followers 0