.

Ask gaming related questions (AHK v1.1 and older)
Nacho21
Posts: 2
Joined: 17 Aug 2017, 04:48

.

20 Dec 2017, 23:42

.
Last edited by Nacho21 on 16 Jun 2018, 05:34, edited 2 times in total.
Rohwedder
Posts: 7774
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Mousewheel rebind with MouseIsOver & MouseGetPos

21 Dec 2017, 07:38

Hallo,
try:

Code: Select all

#IfWinActive, ahk_class POEWindowClass
$WheelUp::
	MouseGetPos,,, ID
	WinGetClass, Class, ahk_id %ID%
	If Class = POEWindowClass
		Click
	Else
		SendInput, {WheelUp}
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 91 guests