This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Sounds to me as if you would like a process submitted by another machine (the server that sent the page with the script) to be able to start a process on the client machine. While there may be some ActiveX way to this, I don't think that you can because of violating the sandbox security concept.