SHOW:
|
|
- or go back to the newest paste.
1 | IfWinExist ahk_class UnityWndClass | |
2 | { | |
3 | - | WinGetPos, P1, P2, P3, P4, ahk_class UnityWndClass |
3 | + | WinGetPos, X, Y, Width, Height, ahk_class UnityWndClass |
4 | - | P1 = -%1% |
4 | + | X = -%1% |
5 | - | P2 = -%2% |
5 | + | Y = -%2% |
6 | - | WinMove, ahk_class UnityWndClass, , P1, P2 |
6 | + | WinMove, ahk_class UnityWndClass, , X, Y |
7 | Return | |
8 | } |