E1M1 8 Posted May 9, 2011 This code works nicely for taking screenshot of windowed app and it also works with game if I have classic theme, but it doesnt work with game when I have areo theme. $hwnd= WinGetHandle("Prince of Persia") MsgBox(0,0,$hwnd) Sleep(5000) _ScreenCapture_CaptureWnd("fail.jpg",$hwnd) Anyone got ideas how to make this code work win 7's areo theme fullscreen game. By not working I mean I get black screenshot at size of game window. edited Share this post Link to post Share on other sites
Emiel Wieldraaijer 9 Posted May 9, 2011 Hi E1M1,This is a bug http://www.autoitscript.com/trac/autoit/ticket/1665Best regards,Emiel Best regards,Emiel Wieldraaijer Share this post Link to post Share on other sites
UEZ 1,278 Posted May 9, 2011 (edited) Can you try please?Just start it, start the game and press ctrl+alt+F12. You should see the screenshot afterwards in the tool.I tested it with one game using Win7 x64 + Aero and it worked properly.Thanks,UEZ Edited May 9, 2011 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Share this post Link to post Share on other sites