[v2.0.14 bug] wheelDown/wheelUp not work Topic is solved

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Cicin
Posts: 10
Joined: 06 Oct 2019, 23:08

[v2.0.14 bug] wheelDown/wheelUp not work

08 May 2024, 02:15

[Moderator's note: Topic moved from Bug Reports.]

with same source code, I use some ^ + ! wheelDown/up remapping in several conditions.

in version 2.0.12 2.0.13 2.0.14
work normally at first and after some time, wheelDown/up doesn't work。
it is, wheelDown/up can't scroll down/up the window any more。


but with same source code, 2.0.11 works well so I use this version back.

I can't give more detail except above, couse of no more information in ahk debug/info winodw。

maybe some changes in mouse wheel after 2.0.11?
Cicin
Posts: 10
Joined: 06 Oct 2019, 23:08

Re: [v2.0.14 bug] wheelDown/wheelUp not work

13 May 2024, 09:06

found where the bug is:

Code: Select all

	XButton1 & WheelUp::Volume_Up
	XButton1 & WheelDown::Volume_Down
	xbutton2 & WheelUp::WheelLeft
	xbutton2 & WheelDown::WheelRight
after any operation above
wheel up/down not work
lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: [v2.0.14 bug] wheelDown/wheelUp not work  Topic is solved

13 May 2024, 16:46

That has never been valid/supported.
The following keys are not supported by the built-in remapping method:
  • The mouse wheel (WheelUp/Down/Left/Right).
Source: Remapping Keys (Keyboard, Mouse and Controller) | AutoHotkey v2
Use Send, so they will be hotkeys, not remapping.

Code: Select all

XButton1 & WheelUp::Send "{Volume_Up}"
XButton1 & WheelDown::Send "{Volume_Down}"
xbutton2 & WheelUp::Send "{WheelLeft}"
xbutton2 & WheelDown::Send "{WheelRight}"
Add {Blind} if required.
lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: [v2.0.14 bug] wheelDown/wheelUp not work

14 May 2024, 05:07

Slight correction: v2.1-alpha.5 and later support remapping to/from the wheel.
Cicin
Posts: 10
Joined: 06 Oct 2019, 23:08

Re: [v2.0.14 bug] wheelDown/wheelUp not work

14 May 2024, 23:11

great thanks, problem solved.
I'll try the new version
lexikos wrote:
13 May 2024, 16:46
That has never been valid/supported.
The following keys are not supported by the built-in remapping method:
  • The mouse wheel (WheelUp/Down/Left/Right).
Source: Remapping Keys (Keyboard, Mouse and Controller) | AutoHotkey v2
Use Send, so they will be hotkeys, not remapping.

Code: Select all

XButton1 & WheelUp::Send "{Volume_Up}"
XButton1 & WheelDown::Send "{Volume_Down}"
xbutton2 & WheelUp::Send "{WheelLeft}"
xbutton2 & WheelDown::Send "{WheelRight}"
Add {Blind} if required.

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: DavidP, FanaticGuru and 106 guests