Notifications
Clear all

[Closed] Capturing the screen through scripting?

Hi there,

I remember I successfully did this ages ago but I lost the script and I cant for the life of me figure it out now
I just want to capture the screen and save it to a png file. Just wondering if someone could point me in the right direction.

Thanks,
Pete

2 Replies

see mxs help -> gw.getViewportDib()

and How To … Create a Quick Preview

Perfect, thanks!