i am using windows-XP Service Pak1 and IE6 and IE7, using this function
function setWindow()
{
try
{
var x;
x= new ActiveXObject(“WScript.Shell”);
x.SendKeys(“% “);
x.SendKeys(“x”)
}
catch(err)
{
document.write(err.description);
}
}
show error
“Automation server can’t create object”
if using windows-XP Service Pak2 and IE6-IE7 and code run,
who can run this code with out change service pak