So, I've been studying scripts like ModernAlgebra's Screenshot and Tsukihime's Map Screenshot. I've been doing this in hopes that I could code a script similar to those. What I need is a script that can take a screenshot of a designated rectangle area, convert it to a PNG and then send it to a directory. It could work through script a script call:
rectshot(x, y, width, height, directory)
It would get the rectangle dimensions by using the x, y, width, and height. Then, it would save the file in the directory whose name is in string form in the arguments.
I do not require it to take a PNG of the 'map'. It would be in its own scene. So just a rectangle on the screen given by coordinates.
Hope someone can help.
rectshot(x, y, width, height, directory)
It would get the rectangle dimensions by using the x, y, width, and height. Then, it would save the file in the directory whose name is in string form in the arguments.
I do not require it to take a PNG of the 'map'. It would be in its own scene. So just a rectangle on the screen given by coordinates.
Hope someone can help.