Setting an active Window

Not applicable
08-18-2017
11:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to figure out a way to set a view port/render window active so I can createScreenshot() from it without clicking on it. I know I can click on the view port and call createScreenshot() and it will get an image from that, but I want to be able to script the screenshot and active viewport. Is there a command that I skipped over looking through the docs?
Thanks,
~Zach