I need to grab an image of the primary desktop. I was using d-bug's desktop extension for this, but today I've tested it on my main dev PC which has two monitors and it grabs both of the monitors and I don't want that.
I could maybe do it in MaxGUI but I don't want to have to include the whole of MaxGUI just for that.
I thought about modifying the desktop extension but I have no idea how to go about this. All the documentation/code comments being in German (or something) didn't help, either.
Another solution I thought of was to grab both monitors, then crop it to the dimensions of the primary display. But it seems senseless loading a giant pixmap that I only actually need 50% of.
Ideas?
I could maybe do it in MaxGUI but I don't want to have to include the whole of MaxGUI just for that.
I thought about modifying the desktop extension but I have no idea how to go about this. All the documentation/code comments being in German (or something) didn't help, either.
Another solution I thought of was to grab both monitors, then crop it to the dimensions of the primary display. But it seems senseless loading a giant pixmap that I only actually need 50% of.
Ideas?