Share ideas, ask questions, and get feedback about developing for ProcessMaker

Moderators: ArturoRobles, ArturoRobles

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

Hello, I'm trying to make a HTML page in which a[…]

IOS PUSH Notification

Latest Mobileios.pem already get its SSL cert expi[…]

Enabling SQL Server in Windows

Nice. https://360digitmg.com/india/ethical-hacking[…]

PM 3.5.0 supports MySQL 5.7.X configurations with […]