15 Replies Latest reply on Nov 13, 2017 3:12 AM by dominican convent

    imageCatalog image sorting before import

      I am trying to use the imageCatalog.jsx script that works fine except that I don't understand how it sorts the folder of images before importing it to the indesign layout.

      I wonder how to edit this function so that the array of images (myFilteredFiles) is sorted alphabetically when completed

      function myMacOSFileFilter(myFolder){
      var myFilteredFiles = myFolder.getFiles(myFileFilter);
      return myFilteredFiles;
      }

      Obviously I don't know how to do this.. :-)
      Many thanks