right now, I use the undocumented command runCommandLine() and just put the path of the batch file in as the parameter.

I don't have a mac to test on, and right now, i commented out the code to call runCommandLine() on a mac as i didn't know if it would cause errors.

anyeone willing to test?  I'll send you a version that has that taken out ;)

This is a copy of the file that George just sent me that he created with FLASC on his mac:

#!/bin/sh

/opt/mtasc/mtasc  -swf /Users/Kuma/Sites/Test2/deploy/Application.swf -cp /Users/Kuma/Sites/Test2/src/com/domain -main MyApp.as -mx  -header 800:600:12  -cp /opt/mtasc/std8

He said he had to change permissions, but after that, it worked.

On 3/17/06, Martin Wood < [EMAIL PROTECTED]> wrote:
> Right now, it should install and work on a mac with the exception of
> running the batch file.  In talking with George, we've been told that
> creating a BASH file (generic text file?) on the mac would be
> executable.

sure, a bash file is just a shell script, much like a .bat file

if it has the magic at the top :

#!/bin/bash

and its permissions have the execute flag set then it should be usable...

> We're actively looking into getting some help on how we
> might execute that BASH file on a mac ;)

how do you execute the .bat file?

thanks,

Martin.

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org



--
John Grden - Blitz
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to