First, please forgive my noob status :-L
I'm trying to make it so when I scroll the wheel on my mouse that Control is also held down, this is to simplify a zoom function in Ableton. I got that part ok, but when trying next to limit the 'Control Scroll' to the Ableton windows I find that I need to use a Class name instead of title because Abes has two windows, one window is named but the other is not, but both windows do share the same Class name.
I can Activate Ableton fine. I can WinGetClass fine. I can MgBox the Class name and it's correct, but I have something wrong after that that I can't figure out (been at this for a few hours now experimenting and reading these forums and the docs to no avail)
So here' what I have :
Code: Select all
SetTitleMatchMode, 2
WinGetClass, class, Ableton Live 10 Suite
MsgBox, Ableton's class is "%class%"
#IfWinActive, class
WheelUp::
^WheelUp
WheelDown::
^WheelDown
I tried experimenting with the Return command after finding my Class, also didn't work.
I've tried using AHK_Class instead of just Class, that totally didn't work.
that's about all I can do at this point. thanks for taking a look.