; win + w Resize Winodw to 1024(w), 1052(h)
#W::ResizeWin(1024,1052)
ResizeWin(Width = 0,Height = 0)
{
WinGetPos,X,Y,W,H,A
If %Width% = 0
Width := W
If %Height% = 0
Height := H
WinMove,A,,%X%,%Y%,%Width%,%Height%
}
Create a Hotkey to Resize Windows to a Specific Size with AutoHotkey - How-To Geek