Hi,
Can anyone help me? I've got the following javascript which opens a program on my local machine:
function LaunchHydra()
{
var launcher = new ActiveXObject("Shell.Application");
launcher.ShellExecute("C:\\Program Files\\Hydra\\hydra32.exe", "", "", "open", "1");
}
What i want to do is have a blank web page, that when opened, runs this script to open the program, and then closes its self down afterward. In theory i dont want the page to be seen, i just want it to have the effect of opening the program.
I'm then going to link to this page from a html email in outlook, because i'm having trouble running javascript functions from outlook.
Any help anyone could give me would be much apreciated, i'm quite new to javascript... I'm sure what im trying to do is really easy and can be done in a few lines but i dont have a clue...
Thanks in advance....
Can anyone help me? I've got the following javascript which opens a program on my local machine:
function LaunchHydra()
{
var launcher = new ActiveXObject("Shell.Application");
launcher.ShellExecute("C:\\Program Files\\Hydra\\hydra32.exe", "", "", "open", "1");
}
What i want to do is have a blank web page, that when opened, runs this script to open the program, and then closes its self down afterward. In theory i dont want the page to be seen, i just want it to have the effect of opening the program.
I'm then going to link to this page from a html email in outlook, because i'm having trouble running javascript functions from outlook.
Any help anyone could give me would be much apreciated, i'm quite new to javascript... I'm sure what im trying to do is really easy and can be done in a few lines but i dont have a clue...
Thanks in advance....