WinMove
윈도우의 위치나 사이즈를 변경한다
WinMove, X, Y WinMove, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText]
Parameters
| 인수명 | 설명 |
|---|---|
| WinTitle | 윈도우 타이틀 등. 윈도우 지정의 방법참조. |
| WinText | 윈도우에 포함되는 텍스트 |
| X, Y | 윈도우가 새로운 수평 좌표와 수직 좌표를 지정. |
| Width, Height | 윈도우의 새로운 폭과 높이를 지정.생략시는 변경 없음. |
| ExcludeTitle | 제외 타이틀 |
| ExcludeText | 제외 텍스트 |
Remarks
2개의 정수를 당겨 수라고 했을 경우, LastFoundWindow(을)를 그 위치로 이동한다.
Width(이)나Height에 일정치보다 작은 사이즈를 지정했을 경우, 타이틀 바의 아이콘과 버튼등이 표시되는 최소한의 사이즈가 된다.
X(이)나Y에는, 윈도우가 스크린으로부터 사라져 버리는 값도 지정 가능.
최소화되고 있는 윈도우는 이동할 수 없다.
DetectHiddenWindows하지만On(이)라면, 비표시의 윈도우도 이동할 수 있다.
Related
ControlMove, WinGetPos, WinHide, WinMinimize, WinMaximize, WinSet
Example(s)
Run, calc.exe WinWait, Calculator WinMove, 0, 0 ; Move the window found by WinWait.
SplashTextOn, 400, 300, Clipboard, The clipboard contains:`n%clipboard% WinMove, Clipboard, , 0, 0 ; Move the splash window to the top left corner. Msgbox, Press OK to dismiss the SplashText SplashTextOff
; The following function centers the specified window on the screen: CenterWindow(WinTitle) { WinGetPos,,, Width, Height, %WinTitle% WinMove, %WinTitle%,, (A_ScreenWidth/2)-(Width/2), (A_ScreenHeight/2)-(Height/2) }
'AUTOHOTKEY > 오토핫키 레퍼런스' 카테고리의 다른 글
| WinMinimize 윈도우를 최소화한다 (0) | 2007/11/07 |
|---|---|
| WinMaximize 윈도우를 최대화한다. (0) | 2007/11/07 |
| WinMove 윈도우의 위치나 사이즈를 변경한다 (0) | 2007/11/07 |
| WinKill 윈도우를 강제적으로 닫는다 (0) | 2007/11/07 |
| WinClose 윈도우를 닫는다 (0) | 2007/11/07 |
| WinShow 비표시의 윈도우를 표시한다 (0) | 2007/11/07 |
댓글을 남겨주세요 부족한 부분 그리고 도움이 되었다면.






