I want to be able to use the mouse wheel (up and down) to control CF.
I have achieved this so far using AutoHotkey.
I just use the following to map the "F9" and "F10" keys to the up and down roll of the mouse wheel:
However, I then wanted to be able to change the function of the mouse wheel to other commands in CF such as "next/previous track" and "zoom in/out" etc.Code:WheelDown::F10 wheelup::F9
The easiest way I could find to do this was to have these 3 .ahk scripts:
SCRIPT1
SCRIPT2Code:WheelDown::F10 wheelup::F9 Mbutton::run C:\script2.ahk #SingleInstance force
SCRIPT3Code:WheelDown::^+oemplus wheelup::^+oemMinus Mbutton::run C:\script3.ahk #SingleInstance force
So when you press the mousewheel button it loads the next script, until you get to the last one (in this case script3) and then you loop round.Code:WheelDown::^F wheelup::^B Mbutton::run C:\script1.ahk #SingleInstance force
Is there a better way of doing this?
Either with AutoHotkey or another program.
Also, is there a way to automatically change the mousewheel functions when you load a certain screen in CF?
E.G. when you load media player it switches to "next/previous track"
then, if you load navigation it switches to "zoom in/out".
It may require both auto switching and also manual select as in the case of media player I would want to be able to control volume and skip tracks.
I would want to scan through the track more than skip to the next/previous but I'll cross that bridge if and when.
Bookmarks