Skip to content

Commit

Permalink
Swapped resize on PgUp/PgDn so PgDn extends the size of the window.
Browse files Browse the repository at this point in the history
  • Loading branch information
justcla committed Jul 10, 2020
1 parent b189fcf commit 5354b65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Window Move HotKeys.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ return
; ==== Special Move/Resize commands ====
; ======================================

!+#PgUp::
!+#PgDn::
; Increase window size (both width and height)
WinGetPos, WinX, WinY, WinW, WinH, A ; "A" to get the active window's pos.
XDir := 1
Expand All @@ -256,7 +256,7 @@ NewH := WinH + (MoveAmount * XDir)
WinMove, A, , , , NewW, NewH
return

!+#PgDn::
!+#PgUp::
; Reduce window size (both width and height)
WinGetPos, WinX, WinY, WinW, WinH, A ; "A" to get the active window's pos.
XDir := -1
Expand Down

0 comments on commit 5354b65

Please sign in to comment.