Hello,
I've been messing around recently trying to write a proof-of-concept
Expose style app for Windows using AHK. I know there are a number of other apps out there for this kind of thing, but firstly none of them do exactly what I want, and secondly its kind of a fun project anyway (has anyone else found that since they started using AHK there's
always one more thing to do?

). Its actually fairly straightforward to get most of it done.
But.
The one major problem is the difficulty in getting decent screen grabs of windows, particularly windows which are minimized, partially or fully off screen, covered by other windows, etc. What I'm trying to do is to have a background script that cycles through all the windows from "WinGet, idlist" and grabs a current snapshot of them into a temp directory, then resizes them according to an algorithm based on the current number of windows, relative sizes, etc.
There
is a way of doing this, but its non-trivial. The best documentation I've found on this is
here, but the sample code seems to crash more apps than not on my system, and anyway is beyond my understanding of the Win32 API (I'm a humble Java programmer...!).
So, if anyone know's this stuff, and is willing to tackle a project, it would be great if we could create either a dll or a standalone app that was capable of grabbing a screen shot of a window to a file (or to memory, clipboard, etc) based on its ahk_id. There's scope for development from there too - resizing, converting to jpg/png, etc.
I'm more than happy to continue work on the rest of the script, but this part is beyond me, I'm afraid.
Any interest?
Ant.