Skip to content

Instantly share code, notes, and snippets.

@jshrek
jshrek / WindowResizeByThirds.ahk
Last active November 24, 2022 18:43 — forked from zemax/WindowsMove.ahk
AutoHotKey script for resizing a window by 1/3 or 2/3 of screen size. RESIZE WINDOWS BY THIRDS
;********************************************************************************
; Resize Windows by 1/3 by Jeff Sherk - November 2022
; AutoHotKey script for resizing a window by 1/3 or 2/3 of screen size.
; This script is very helpful if you have a very wide monitor and want to quickly resize multiple windows to fit on your screen.
; WinKey +AltKey +RightArrowKey = CYCLE window size from 33% 1/3 Left > 66% 2/3 Left > 33% 1/3 Middle > 66% 2/3 Right > 33% 1/3 Right.
; WinKey +AltKey +LeftArrowKey = CYCLE back thru above sizes.
; CtrlKey +WinKey +AltKey +LeftArrowKey = Direct resize window to 66% 2/3 Left.
; CtrlKey +WinKey +AltKey +RightArrowKey = Direct resize window to 33% 1/3 Right.
;********************************************************************************
; - Forked from this script: https://gist.github.com/zemax/7337507