Question
Illustrator exportFile() script method replacing filename space with hyphen ("-")
Hi All,
Using my script,When i am trying to export in illustrator to png with name "My ILST File.png" it is saving as "My-ILST-File.png".
I wanted names with spaces.I don't want to use this file for html.So I think space will not create a problem and I am using exportOptions.saveAsHtml as false(default). so could anyone help me in this.my code is given below
var exportOptions = new ExportOptionsPNG24();
exportOptions.artBoardClipping = true;
var fileSpec = new File("c:\\My ILST File"+".png");
app.activeDocument.exportFile( fileSpec, ExportType.PNG24, exportOptions );
Thanks.
