![](https://wiki.automaxed.com/wp-content/uploads/capture-app.png)
Allows you to take a screenshot of a specified application.
Example
![](https://wiki.automaxed.com/wp-content/uploads/image-174.png)
Running this code will take a screenshot of the application "Untitled - Notepad" and save it as "Sample.jpg".
plugin command("Desktop Automation.dll", "capture app", "Untitled - Notepad", "", "{$special folder("Desktop")}\\Sample.jpg", "False")