No title on the window either.
Update the Installshield Engine to the latest......
http://consumer.installshield.com/kb.asp?id=Q108322 this will give you a window title you can detect and send keystroke(s) to.
Example js file:
// ==============================================================
// void SendMyKeys(sWindowTitle, sKey, iTries, )
// ==============================================================
//
// "window_title", "", number or tries,
//
//
//
// wscript.exe %name*.vbs
//
// SendMyKeys(sWindowTitle, sKey, iTries, bMultiple);
var oShell = WScript.CreateObject("WScript.Shell");
WScript.Sleep(5000);
SendMyKeys("Macromedia Flash Player - InstallShield Wizard","~",10,false);
function SendMyKeys(sWindowTitle, sKey, iTries, bMultiple) {
i = 0;
if (!bMultiple) {
while (!oShell.AppActivate(sWindowTitle) && i < iTries) {
WScript.Sleep(4000);
i++;
}
oShell.SendKeys(sKey);
} else {
while (i < iTries) {
WScript.Sleep(4000);
if (oShell.AppActivate(sWindowTitle)) {
oShell.SendKeys(sKey);
}
i++;
}
}
return;
}
Waits for 5 seconds, then tries to send a carriage return/enter keystroke once
every 4 seconds for ten tries.
Scott