Execution
Hi I am trying to use this Code inside Thingworx JavaScript service.
I am getting syntax error on highlighted portion.
Appreciate your help in this.
<html><head>
<title>Application Executer</title>
<HTA:APPLICATION ID="oMyApp"
APPLICATIONNAME="Application Executer"
BORDER="no" CAPTION="no"
SHOWINTASKBAR="yes" SINGLEINSTANCE="yes" S
YSMENU="yes" SCROLL="no" WINDOWSTATE="normal">
<script type="text/javascript" language="javascript">
function RunFile()
{
h2.
WshShell = new ActiveXObject("WScript.Shell")
<b> var Exe = "D:/FileBridge.exe";</b>
<b> var JobId = "67";</b>
WshShell.Run(Exe + " " + JobId, 1, false)
}
</script></head><body>
<input type="button" value="Run Subthermal" onclick="RunFile();"/></body></html>

