프로그램 자료/AutoHotKey

안보이는 창 이동하기 잡아오기

motolies 2015. 11. 23. 15:50

출처 : 본인





HiddenWindowMove.7z




#SingleInstance force

#NoEnv


Gui, Add, Text, x12 y9 w230 h20 , 해당 창의 실행파일명을 적습니다.

Gui, Add, Edit, x12 y30 w230 h20 vPName, notepad.exe

Gui, Add, Button, x245 y5 w60 h47 gMove, 이동

; Generated using SmartGUI Creator for SciTE

Gui, Show, w315 h60, 안보이는 창 이동하기

return


GuiClose:

ExitApp



Move:

Gui,Submit,nohide 


IfWinExist, ahk_exe %PName%

{

WinActivate

WinMove,,,0,0

}

else

MsgBox, 0, Alert, 해당 프로세스가 없습니다.


return