| View previous topic :: View next topic |
| Author |
Message |
Harmor
Joined: 06 Nov 2005 Posts: 183
|
Posted: Fri Oct 13, 2006 10:16 pm Post subject: How do you disable the Mouse Wheel? |
|
|
I tried using | Code: | #InstallMouseHook
$WheelUp::
$WheelDown::
; Disable
return
|
but the program I'm using still is recognizing it. Is there something I'm missing? _________________ //TODO: Create kewl sig... |
|
| Back to top |
|
 |
slomz
Joined: 03 Sep 2006 Posts: 608 Location: Iowa, U.S.
|
Posted: Fri Oct 13, 2006 10:59 pm Post subject: |
|
|
| KeyState?? Use a GetKeystate and use some if statements or something to see if it exists or not then do what you need to next. |
|
| Back to top |
|
 |
Harmor
Joined: 06 Nov 2005 Posts: 183
|
Posted: Fri Oct 13, 2006 11:46 pm Post subject: |
|
|
No see I want to disable it. _________________ //TODO: Create kewl sig... |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4015 Location: Pittsburgh
|
Posted: Sat Oct 14, 2006 3:32 am Post subject: |
|
|
| It looks better if you go to the Control Panel / Mouse, and disable the mouse wheel from there. If an application still sees the wheel after you assigned no action to it in an AHK script, that application probably has its own mouse hook, which you cannot disable from AHK. |
|
| Back to top |
|
 |
slomz
Joined: 03 Sep 2006 Posts: 608 Location: Iowa, U.S.
|
Posted: Sat Oct 14, 2006 4:55 am Post subject: |
|
|
| Harmor wrote: | | No see I want to disable it. |
Yes I know use a getkeystate or something, and if you do have a mousewheel existing, then disable it. |
|
| Back to top |
|
 |
|