JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > English Support > General Discussion
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 14.11.2017, 14:39
torrero007
Guest
 
Posts: n/a
Default Run external program with Event Scripter

Hi, I would like to run an .exe after a download finishes, for example putty, but this code does not work in Event Scripter. What I am doing wrong:

var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "C:\\putty.exe";
oShell.ShellExecute(commandtoRun, "", "", "open", "1");

Error: ActiveXobject is not defined

Thanks
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 13:25.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.