Jump to content
Sign in to follow this  

Disabling the input for specific keys & mouse buttons

Recommended Posts

I'm using _IsPressed to check specific user defined keys for a script, I would use the hotkey function, but this doesn't support mouse buttons. (Specifically I need this to work with mouse side buttons)

The problem I have is that I need the press of the key/mouse button only to be recieved in the script, _IsPressed simply returns true if the key is pressed.

Obviosuly autoit has some kind of functionality to selectively disable input, otherwise the hotkeyset function couldn't do what it does.

Perhaps somebody knows of a function I can call in the windows API that can set the input of a key only to be recieved by the script?

More practical alternatives are welcome.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...