Flash 10 (AS3): Pass Parameters to fscommand (from Projector)?
- by yar
Here is my shell script (fscommand/blah.sh):
open -a /Applications/TextMate.app/ $1
and here is my ActionScript 3.0:
flash.system.fscommand("exec", "blah.sh blah.txt");
this does not work. If I get rid of the $1 from the shell script and the blah.txt it works fine. How can I pass parameters to the shell script? (yes, the shell script works fine with the parameter when called from the command line).
Note: This is on OSX but I need this to work on Windows as well.
Edit: "Doesn't work" also means no trace, no error :)