PDA

View Full Version : Run EXE from JSFL


rtsamir
03-23-2008, 09:21 AM
Is it possible to run EXE file from JSFL

Thanks

Ronen Tsamir
Revolver
ww.freeSpin3d.com (http://www.freespin3d.com)

squadjot
03-28-2008, 07:12 PM
- i would like to know also.. i think i saw interfacing with DLL , but didnt see an example with a EXE

rtsamir
03-30-2008, 01:37 PM
Yes, There is no problem to run C++ DLL that will run the EXE. But I want to keep it simple for cross platforms (the EXE is an Air project)

FlashWhip
04-17-2008, 05:01 AM
I think you are limited to using a DLL.

squadjot
04-17-2008, 02:56 PM
Keeping the main application in AIR is still good idea.. so u only have to create a small "proxy"-like script (for each platform*) - that will shove your arguments on to ur AIR app.

rtsamir
04-22-2008, 06:50 AM
You mean DLL for each platform?
If there is no other option, I'll do that.

squadjot
04-22-2008, 11:06 AM
Yeah, i'm not sure what's DLL equivalent on i.e. MAC, but yes.. something like that.

Atleast that would be what i would try.. nomatter what interface/OS it SHOULD be a pretty basic task.. getting a string value from X - passing it on to Y..

rtsamir
05-01-2008, 01:51 PM
There is undocumented JSFL method:
FLfile.runCommandLine("c:/App.exe");


Just annoying that it open a command window and closing it only after the application closed.

If someone know more undocumented JSFL method

I think we should open special thread for it.

squadjot
05-01-2008, 03:14 PM
Interesting. I wonder if you can pass on additional parameters? (to either the commandline window...or the app your executing)

When the commandline shuts down, the JFSL is probably continues. I guess its working like a "pause".

Edit: Also again, this will probably only work on windows

rtsamir
05-02-2008, 04:14 AM
From CS3 it's work on mac to