Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By dominique1981
#10489
Is it possible to run a exe file on button push or with a trigger (or other way) ????
I tryed building a javascript but it seems i really such at java
script lookt something like this

<script language=javascript>
<!--
function RunExe()
{
var h1;
h1=new ActiveXObject("Wscript.Shell");
h1.Run("C:\1\test.exe");
h1=null;
}

//-->
</script>

<button onclick="RunExe()">Run File</button>

Any help is appriciated

Thanks in advance
User avatar
By amosbatto
#10492
JavaScript can not be used to call external programs--It is a security feature of the language. The only thing you can do is have a link to a file which your web browser will then open. If it is an executable file, most web browsers will be configured to ask the user if he/she wants to execute it, but it depends on the configuration of each web browser.
The only thing you can do is call a trigger after submitting the DynaForm which will execute an external program. There might be some way to use XmlHttpRequest() to execute the external program. See: http://stackoverflow.com/questions/2901 ... pplication

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]