What am I missing? I've got alerts that should pop up if it works and if it fails but instead it does nothing, I'm sure its possible to create an array that is made up of all the file names of a folder. In the past I've had to enter all the values one a time and some of these folders have 200+ files in it.
#target illustrator filltotesTempArr function filltotesTempArr() { var toteTemparray = new Array(toteTemps) var toteTempPath = Folder ("S:/Illustrator JS Palette/Direct Template Calls/Totes"); var allFiles = artPath.getFiles(order); var toteTemps if (allFiles.length > 0) { for (i=0;i<allFiles.length;i++) { toteTemps = toteTemps + app.open(allFiles[i] ) }//end for alert("Your array has the current values:" + toteTemps); }//end if else alert("Script to fill Totes Templates Array has failed"); }