The undocumented JSFL method FLfile.runCommandLine as of Flash CS3 now works on a Mac, so you can write shell code and execute it from your JSFL scripts.
For example:
Actionscript:
-
FLfile.runCommandLine("exec /Apollo/bin/adl /Users/guy/desktop/myapp.xml")
Will run Apollo from JSFL on a Mac.
In previous versions of Flash (7.2/8), FLfile.runCommandLine only worked on Windows, so this is great news. FlappleScript is no longer required, nor does it work anymore in Flash CS3 which i found out the hard way when trying to port my Test in Apollo application over to the Mac. This function is still undocumented, but its been in a few versions of the authoring tool now, so i cant see Adobe removing it.
Tags: jsfl, undocumented