Advertisement
Dylrex

Resize Client

Jul 7th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;Ctrl+Shift+1 to Resize Window
  2. ;Useful for default client
  3. ResizeWin(Width = 0,Height = 0)
  4. {
  5.   WinGetPos,X,Y,W,H,A
  6.   If %Width% = 0
  7.     Width := W
  8.  
  9.   If %Height% = 0
  10.     Height := H
  11.  
  12.   WinMove,A,,%X%,%Y%,%Width%,%Height%
  13. }
  14. +^1::ResizeWin(781, 542) ;You may need to change these
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement