paolotonzini Posted December 3, 2013 Share Posted December 3, 2013 I have been trying to find a post that explained how to remap the scrolling feature (mouse wheel up and down) to the + and - keys on num pad, I had it all working for a while but just did a fresh install and cant find it any where on the web and cant figure out how to do it my self, can some one help me? I have a laptop and the scroll function doesn't work it was nice to be able to use the + and - buttons instead, thanks Link to comment Share on other sites More sharing options...
Jfish Posted December 3, 2013 Share Posted December 3, 2013 Maybe something like this? ;mouse #include<Constants.au3> #include <WinAPI.au3> HotKeySet("!+","_up") HotKeySet("-","_down") func _up() ConsoleWrite("you pressed up"&@CRLF) _WinAPI_Mouse_Event($MOUSEEVENTF_WHEEL,"",20, +120) EndFunc func _down() ConsoleWrite("you pressed down"&@CRLF) _WinAPI_Mouse_Event($MOUSEEVENTF_WHEEL,"",20,-120) EndFunc while 1 WEnd Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
JohnOne Posted December 3, 2013 Share Posted December 3, 2013 HotKeySet("{NUMPADADD}","_up") HotKeySet("{NUMPADSUB}","_down") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Jfish Posted December 3, 2013 Share Posted December 3, 2013 @JohnOne - thx. Much better. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt 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