Thursday, June 28, 2018

Easily Scroll Between Tabs in Chrome with CTRL-ALT-Wheel - Using AHK

Autohotkey's your answer :

for Chrome

#IfWinActive ahk_class Chrome_WidgetWin_1
   ^!WheelUp::Send ^{PgUp}
   ^!WheelDown::Send ^{PgDn}
#IfWinActive

for M$ Edge (doesn't work well when you have Office docs open - Excel, Word... why? :(

#IfWinActive ahk_class ApplicationFrameWindow
   ^!WheelUp::Send ^{PgUp}
   ^!WheelDown::Send ^{PgDn}
#IfWinActive

What do you do? Get AHK from autohotkey
Do a simple script. I would recommend the Johnny EasyWindowDrag_KDE script.

Add these lines.. at the end. How do I know to use Chrome_WidgetWin_1? Easy - use Window Spy (once you have a basic script running, right click on the script icon in the Taskbar and .. )

No comments: