#Include Gdip_All.ahk pToken := Gdip_Startup() pBitmap := Gdip_BitmapFromHwnd(WinExist("제목 없음 - Windows 메모장")) Gdip_SaveBitmapToFile(pBitmap, A_Desktop "\result.png") Gdip_DisposeImage(pBitmap) Gdip_Shutdown(pToken) ExitApp