diff options
-rw-r--r-- | tt.scroll.ahk | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/tt.scroll.ahk b/tt.scroll.ahk index e553317..9a8d41a 100644 --- a/tt.scroll.ahk +++ b/tt.scroll.ahk @@ -1,13 +1,5 @@ ;; -> body -;; TODO: Check how far up/down window cursor is -;; (but let perhaps the top 30-40% give the same scroll) - -;§ & LButton::SendInput, {WheelDown} -;§ & RButton::SendInput, {WheelUp} - -; <^>!§::SendInput, {Text}§ - #IfWinActive ahk_class PuTTY PgUp:: @@ -20,27 +12,14 @@ Loop, 5 SendInput, ^{PgDn} return -#IfWinActive ahk_class SUMATRA_PDF_FRAME - -PgUp::SendInput, {PgUp} -PgDn::SendInput, {PgDn} - -#IfWinActive ahk_class Chrome_WidgetWin_1 - -PgUp::SendInput, {PgUp} -PgDn::SendInput, {PgDn} - #IfWinActive -PgUp:: +RCtrl & PgUp:: Loop, 5 SendInput, {WheelUp} return -PgDn:: +RCtrl & PgDn:: Loop, 5 SendInput, {WheelDown} return - -<^>!PgUp::SendInput, {PgUp} -<^>!PgDn::SendInput, {PgDn} |