Reputation: 23
I have created an application in Flash cs3. In that application I have to open a pdf file in Acrobat Reader. I have used this to open a file
openPdf1.addEventListener
(MouseEvent.CLICK,
function ():void
{
fscommand ("exec", "manual.bat");
}
);
but now when I am going to Mac OS then this code is not working, which means the file is not open
So how can I open files in Mac?
Upvotes: 0
Views: 1454
Reputation: 19748
Mac won't execute a batch file you need to change the batch file into a shell script (at the very least) http://tldp.org/LDP/abs/html/dosbatch.html
Upvotes: 1