diff options
-rw-r--r-- | tt.windowselect.ahk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tt.windowselect.ahk b/tt.windowselect.ahk index 20c10b1..889c735 100644 --- a/tt.windowselect.ahk +++ b/tt.windowselect.ahk @@ -21,7 +21,7 @@ Taskbar(n) static width := 63 ; set this to your taskbar button width static offset := 0 ; don't change this if (offset = 0) - offset := 10 + offset := 15 else offset := 0 x := start + width*(n-1) + offset @@ -29,9 +29,9 @@ Taskbar(n) tmp := A_CoordModeMouse CoordMode, Mouse, Screen MouseGetPos, ox, oy - BlockInput, On + BlockInput, MouseMove MouseClick, Left, %x%, %A_ScreenHeight%, 1, 0 MouseMove, %ox%, %oy%, 0 - BlockInput, Off + BlockInput, MouseMoveOff CoordMode, Mouse, %tmp% } |