jean_quaresma Posted November 29, 2012 Share Posted November 29, 2012 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 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. 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 Link to comment https://forums.phpfreaks.com/topic/271338-cominternetexplorerapplication/#findComment-1396132 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.