aboutsummaryrefslogtreecommitdiff
path: root/tt.programs.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'tt.programs.ahk')
-rw-r--r--tt.programs.ahk18
1 files changed, 9 insertions, 9 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 1dd4e03..b4aa039 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -18,12 +18,12 @@ XButton1::SendInput, +{F5} ; cycle cursor position backwards
+WheelUp::
Loop, 30
- SendInput, ^+{Left}
+ SendInput, ^+{Left}
return
+WheelDown::
Loop, 30
- SendInput, ^+{Right}
+ SendInput, ^+{Right}
return
#IfWinActive ahk_class EVERYTHING
@@ -46,11 +46,11 @@ F4::SendInput, !{Right}
!F2::SendInput, {WheelDown}
F1::
Loop, 5
- SendInput, {WheelUp}
+ SendInput, {WheelUp}
return
F2::
Loop, 5
- SendInput, {WheelDown}
+ SendInput, {WheelDown}
return
#IfWinActive ahk_class KMeleon Browser Window
@@ -61,11 +61,11 @@ F4::SendInput, !{Right}
!F2::SendInput, {LAlt Up}{Down}
F1::
Loop, 5
- SendInput, {WheelUp}
+ SendInput, {WheelUp}
return
F2::
Loop, 5
- SendInput, {WheelDown}
+ SendInput, {WheelDown}
return
#IfWinActive ahk_class MediaPlayerClassicW
@@ -73,13 +73,13 @@ return
Esc::
WinGetPos, x, y, w, h
if (x = 0 and y = 0 and w = A_ScreenWidth and h = A_ScreenHeight)
- SendInput, {F11}
+ SendInput, {F11}
return
~RShift::
WinGetPos, x, y, w, h, A
if not (x = 0 and y = 0 and w = A_ScreenWidth and h = A_ScreenHeight)
- return
+ return
MouseGetPos, mx, my
MouseMove, % A_ScreenWidth, % A_ScreenHeight, 0
KeyWait, RShift
@@ -91,7 +91,7 @@ WinGetPos, x, y, w, h, A
MouseGetPos, mx, my
SendInput, {LCtrl Down}7{LCtrl Up}
if (x = 0 and y = 0 and w = A_ScreenWidth and h = A_ScreenHeight)
- MouseMove, % A_ScreenWidth, 0, 0
+ MouseMove, % A_ScreenWidth, 0, 0
KeyWait, LShift
MouseMove, % mx, % my, 0
SendInput, {LCtrl Down}7{LCtrl Up}