Groups | Blog | Home
all groups > flash (macromedia) > november 2003 >

flash (macromedia) : fscommand not working??


Chizl
11/13/2003 11:57:48 PM
What's wrong with this?

fscommand ("exec", "C:\\Code\\VB\\RDMCOM-DLL\\Demo.exe");

Chizl
11/14/2003 12:17:58 AM
Nevermind.. Found something someone posted a while back somewhere else.. Seems I have to have an fscommand sub-directory in the same directory as the projector.exe, then not pass a path at all..

WOULD BE NICE IF MACROMEDIA CLARIFIED THAT IN THE HELP FILE!!!!!


The Big Giant Head
11/14/2003 12:52:06 AM
yeah - it was so much easier in 5 (which still works in the new player by the way) !
Kit Kwan
11/14/2003 1:12:02 AM
I found this in the help file:
[quoted text, click to view]
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 fscommand exec command to call an application, the application must reside in a subdirectory named fscommand.
<<


Kit Kwan
urami_
11/14/2003 11:47:10 AM

[quoted text, click to view]

well, you can always call BAT file and the BAT can call application or command lines
from anywhere .


Regards

urami_*



<lsym>

There's no place like 127.0.0.1

Chizl
11/14/2003 5:16:23 PM
well, you can always call BAT file and the BAT can call application or command lines
from anywhere .

Tried that, but the DOS console pops up in the face of the user.. I do not want that.. Anyway to hide the command console?


urami_
11/15/2003 8:31:53 AM


[quoted text, click to view]

you could place ECHO OFF and of course you could use 3rd party tools that
won't make dos pop ups, can open any file and even with parameters.
Check it out :

http://flashjester.com/?section=tricks_jtools_jstart
JStart :
JStart will allow you to not only launch a program,
but use parameters to make the program open files,
perform special actions and just about anything you can
use parameters for. You can also choose to launch
files with their default associated program.





Regards

urami_*



<lsym>

There's no place like 127.0.0.1

Chizl
11/17/2003 4:59:52 AM
I have my own works around.. I just placed my EXE in the FSCommand directory.. I had 3 possible parms for this EXE so what I did is named the EXE for the function I want.. On launch of the EXE I know what the parm would have been and execute it.. This way I don't have to create 3 different EXE and still get everything I needed done.

AddThis Social Bookmark Button