Executing external code

All topics on coding 4Dscript in Enterprise Dynamics.
Post Reply
schepers
Posts: 14
Joined: Thursday 19 January, 2012 - 12:08

Executing external code

Post by schepers »

Hello,
Can somebody tell me, weather it is possible to run external code (e.g. java) out of ED?
Or is it possible to control ED from extern programs? E.g. stopping or starting runs etc.
Kind Regards,
Ralf
User avatar
MatthijsJongboer
Posts: 200
Joined: Thursday 11 November, 2010 - 14:12

Re: Executing external code

Post by MatthijsJongboer »

Hello Ralf,
Yes, this is possible. Have a look at the examples located in the Work\Examples\English\ActiveX Samples subdirectory.
The OleTest.exe application gives some basic examples of 4DScript.
Unfortunately, there is no example for Java.

From ED to other applications is also possible. The atom ExcelActiveX has many functions to manage this for Excel. You can look at the functions how this is achieved.
Post Reply