Page 1 of 1

Coords arguments for SaveSnapshot

Posted: Tue Jun 26, 2018 9:17 pm
by r-tea
Would it be hard to implement four coordinates to grab specified area of a screen?
For example:

Code: Select all

SaveSnapshot("file.png", #SNAPDESKTOP, IMGFMT_PNG, 0, 0, 80, 50)
where 0, 0 are coordinates, and 80, 50 are width and height.

Re: Coords arguments for SaveSnapshot

Posted: Tue Jun 26, 2018 11:08 pm
by airsoftsoftwair
Use GrabDesktop() to grab a part of the screen.