YURIY1
5 years agoOccasional Visitor
Error activexobject is not defined
Why do I get the error "activexobject is not defined"? (javascript)
function KillAllIntegralProcesses () {
const objShell = new ActiveXObject ("shell.приложение");
objShell.ShellExecute ('cmd.exe', 'taskkill /F /T / IM" Integral*"');
}
Hi,
From https://support.smartbear.com/testcomplete/docs/scripting/specifics/javascript-for-jscript-users.html#Differences : "The new ActiveXObject() statement is not supported in JavaScript. Use getActiveXObject("prog-id") instead."