YK
Size: a a a
YK
EC
OK
OK
YK
YK
OK
OK
YK
YK
OK
А
OK
OK
YK
OK
YK
OK
#if WinActive("ahk_exe Illustrator.exe") and not WinActive("ahk_class #32770")
WheelUp::
WheelDown::
CoordMode "Pixel"
CoordMode "Mouse"
if PixelGetColor(440, 20) = 0xF2F2F2 {
MouseGetPos X, Y
MouseClick "Left", 455, ((A_ThisHotKey = "WheelUp") ? 25 : A_ScreenHeight - 5), 10
MouseMove X, Y
} else {
Key "^{" A_ThisHotKey "}"
}
return
OK