BabyRacist Posted September 27, 2011 Share Posted September 27, 2011 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. Link to comment Share on other sites More sharing options...
monoscout999 Posted September 28, 2011 Share Posted September 28, 2011 The script have a window? ----> use If _IsPressed("your Key" , $YourUser32DLL) and WinExists("Your window")The script have not a window? ----> 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