jean_quaresma Posted November 29, 2012 Share Posted November 29, 2012 (edited) Good Morning I'm tranbalhando with COM ("InternetExplorer.Application") to capture the screen in IE browser, the code works perfectly when the computer is not with the screen locked. When locking the computer screen but it captures the screen is all black. Below is the source code in PHP: $url = 'www.google.com'; $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $browser->Fullscreen = true; $browser->Navigate($url); while ($browser->Busy) { com_message_pump(4000); } sleep(10); $im = imagegrabwindow($handle);//close down Internet Explorer $browser->Quit(); thank you Edited November 29, 2012 by jean_quaresma Quote Link to comment https://forums.phpfreaks.com/topic/271338-cominternetexplorerapplication/ Share on other sites More sharing options...
trq Posted November 29, 2012 Share Posted November 29, 2012 I suggest you post your issue on an MS site. I don't see how this is a PHP issue / question. Quote Link to comment https://forums.phpfreaks.com/topic/271338-cominternetexplorerapplication/#findComment-1396131 Share on other sites More sharing options...
jean_quaresma Posted November 29, 2012 Author Share Posted November 29, 2012 Thank you Quote Link to comment https://forums.phpfreaks.com/topic/271338-cominternetexplorerapplication/#findComment-1396132 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.