Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ResizeWin(Width = 0,height = 0)
- {
- WinGetPos,X,Y,W,H,A
- If %Width% = 0
- Width := W
- If %Height% = 0
- Height := H
- ; WinSet, Style, ^0xC00000, A ; Remove the active window's title bar (WS_CAPTION).
- ; WinGet, Var, Style, A
- ; MsgBox, 4,, Style: %Var%
- WinMove,A,,%X%,%Y%,%Width%,%Height%
- ; WinSet, Redraw
- ; WinHide, A
- ; WinShow, A
- }
- ;^!7::ResizeWin(1280,720)
- ;^!7::ResizeWin(1296,758)
- ;LControl&LAlt&7::ResizeWin(1296,758)
- ; Windows 7
- ;<^<!7::ResizeWin(1296,758)
- ; Windows 10 - Press: Ctrl + Alt + 7
- <^<!7::ResizeWin(1296,759)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement