;

PDA

Click to See Complete Forum and Search --> : fscommand - parameters


imdumb
08-05-2008, 06:58 PM
Does anyone have the fscommand parameters for scripting to run an exe file.
I have tried:
fscommand('exec','c:\dir\program.exe');
does not work.

If I also setup the button with an action FS Command - this works fine.

How does KM call the command??

Thanks

blanius
08-05-2008, 09:01 PM
In current flash player I'm pretty sure the EXE must be in a specific directory relative to your Flash exe. Also you do realize this only works from a projector?

From the Online docs
The exec command can contain only the characters A-Z, a-z, 0-9, period (.), and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the exec command to call an application, the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file.