Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Left::
- SysGet, monHeight, 62
- SysGet, monWidth, 61
- setWidth := monWidth/2
- WinMove,A,,0,0,%setWidth%,%monHeight%
- return
- #Right::
- SysGet, monHeight, 62
- SysGet, monWidth, 61
- setWidth := monWidth/2
- WinMove,A,,%setWidth%,0,%setWidth%,%monHeight%
- return
- #Up::
- WinGet, Maximized, MinMax, A
- if Maximized = -1
- {
- WinRestore, A
- }
- if Maximized = 0
- {
- WinMaximize, A
- }
- return
- #Down::
- WinGet, Maximized, MinMax, A
- if Maximized = 1
- {
- WinRestore, A
- }
- if Maximized = 0
- {
- WinMinimize, A
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement