Works for Excel, not for Notepad++ :( Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
perlsmith
Posts: 24
Joined: 13 Apr 2016, 21:44

Works for Excel, not for Notepad++ :(

23 May 2018, 10:42

Code: Select all

#IfWinActive ahk_class Notepad++
   ^!WheelUp::Send ^{PgUp}
   ^!WheelDown::Send ^{PgDn}
#IfWinActive
Window Spy gives the ahk_class as Notepad++, but there is no effect - CTRL+SHIFT+ScrollWheel does nothing. Whereas, this works beautifully with Excel.

What am I missing? Goal is to move between the open tabs..
Rohwedder
Posts: 7616
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Works for Excel, not for Notepad++ :(  Topic is solved

23 May 2018, 11:25

Hallo,
if you want CTRL+SHIFT+ScrollWheel try:

Code: Select all

#IfWinActive ahk_class Notepad++
   ^+WheelUp::Send ^{PgUp}
   ^+WheelDown::Send ^{PgDn}
#IfWinActive
Your Hotkeys need CTRL+ALT+ScrollWheel
perlsmith
Posts: 24
Joined: 13 Apr 2016, 21:44

Re: Works for Excel, not for Notepad++ :(

23 May 2018, 12:31

Oops :) Sorry. I was just so sure that I had implemented CTRL-SH..

Thanks

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Exies and 125 guests