aplcanada
asked on
Multiple Hyperlinks to launch client's local executable program with different parameters
We have multiple devices that we connect to with ultravnc. I was hoping to create a sinmple html file with links that would laund ultravnc with the host ip of each. But each hyper link is defualting to my last entry. For example:
<a href="javascript:LaunchApp ()">Inboun d KIOSK 1</a>
<script>
function LaunchApp() {
if (!document.all) {
alert ("Available only with Internet Explorer.");
return;
}
var ws = new ActiveXObject("WScript.She ll");
ws.Exec("c:\\Program Files\\UltraVNC\\vncviewer .exe -connect 10.10.79.131");
}
</script>
</br>
<a href="javascript:LaunchApp ()">Inboun d KIOSK 2</a>
<script>
function LaunchApp() {
if (!document.all) {
alert ("Available only with Internet Explorer.");
return;
}
var ws = new ActiveXObject("WScript.She ll");
ws.Exec("C:\\Program Files\\UltraVNC\\vncviewer .exe -connect 10.10.79.132");
}
</script>
</br>
when I click on the Inbound Kiosk 1 link it launches ultravnc but tries connecting to 10.10.79.132. is there anyway of correcting this. I have a dozen Kiosk I need to make entries for.
<a href="javascript:LaunchApp
<script>
function LaunchApp() {
if (!document.all) {
alert ("Available only with Internet Explorer.");
return;
}
var ws = new ActiveXObject("WScript.She
ws.Exec("c:\\Program Files\\UltraVNC\\vncviewer
}
</script>
</br>
<a href="javascript:LaunchApp
<script>
function LaunchApp() {
if (!document.all) {
alert ("Available only with Internet Explorer.");
return;
}
var ws = new ActiveXObject("WScript.She
ws.Exec("C:\\Program Files\\UltraVNC\\vncviewer
}
</script>
</br>
when I click on the Inbound Kiosk 1 link it launches ultravnc but tries connecting to 10.10.79.132. is there anyway of correcting this. I have a dozen Kiosk I need to make entries for.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER