How about:
Note: I've made a couple fixes to this code.Code:<?php
$url = 'http://hotmail.com';
$exec = "
Set WshShell = WScript.CreateObject(\"WScript.Shell\")
WshShell.Run \"iexplore.exe\"
WshShell.AppActivate \"Internet Explorer\"
WshShell.SendKeys \"%D\"
WshShell.SendKeys \"$url{ENTER}\"
WScript.Sleep 2000
WshShell.Run(\"C:\\HQScreen.exe 0 PNG 8 picture C:\\\")
";
exec ($exec);
?>
