capture app specific area

Allows you to take a screenshot of a specific area of an application.


Example

Running this code will screen capture the following specified area of window "test.txt - Notepad":

  • X: 100
  • Y: 100
  • Width: 500
  • Height: 500

Saving it as "capture app specific area.jpg".

plugin command("Desktop Automation.dll", "capture app specific area", "test.txt - Notepad", "Notepad", 100, 100, 500, 500, "{$special folder("Application")}\\capture app specific area.jpg", "False")

Was this helpful?

Previous Article

capture app no active

Next Article

capture screen