0 Replies Latest reply on Nov 6, 2014 9:13 AM by rafanzovin

    Importing Illustrator files to a single layer using Javascript

    rafanzovin

      I'm writing a script that needs to import a sequence of Illustrator files to a single layer, and place them at frames based on their filenames. I'm using the document.importFile() method to do the import. I think I( have everything worked out except for one thing. I'd like to have the behavior you get when manually importing files and selecting the "Single Flash Layer" option under "Convert Layers To." We sometimes need to import hundreds of files, so it's not practical to pass true as the showDialog argument. Any suggestions?