Code: Select all
CaptureScreen(1,0,"D:\test.png")
Code: Select all
CaptureScreen(1,0,"D:\test.png")
Code: Select all
CaptureScreen("-1920, 0, 0, 1080", 0, A_ScriptDir "\test987.png")
Code: Select all
CaptureScreen("-1920, 0, 0, 1080", 0, A_ScriptDir "\test987.png")
Code: Select all
CaptureScreen("1920, 0, 0, 1080", 0, A_ScriptDir "\test987.png")
Code: Select all
WinGetActiveStats, OutTitle, OutW, OutH, OutX, OutY
fileName := A_Desktop "\test.png"
if !pToken:= Gdip_Startup()
{
MsgBox, 131088, , Gdip not loaded
ExitApp
}
pBitmap := Gdip_BitmapFromScreen(OutX "|" OutY "|" OutW "|" OutH)
Gdip_SaveBitmapToFile(pBitmap, fileName)
Gdip_Shutdown(pToken)
Run, % fileName
return
Users browsing this forum: Google [Bot], MSN [Bot], scriptor2016 and 183 guests