I have this to close IE when the Exit button is pressed:
function uf_LoginCloseWindow()
{
window.close();
}
I want to do this:
function uf_LoginCloseWindow()
{
c:\windows\system32\shutdown.exe -f -l
}
Can't seem to get it to work, I tried:
var objShell = new ActiveXObject("WScript.shell");
objShell.Run("C:\windows\system32\shutdown.exe");
All I can get out of the developer console is "The value of the property 'uf_LoginCloseWindow' is null or undefined, not a Function object"
Any ideas?