Answered
scan mask with name file and not extension
hi into this function
var myFolder = Folder(defaultFolder).selectDlg("Select the folder containing InDesign Files");
//var myFolder = Folder.selectDialog("Select the folder containing InDesign Files", "");
if (!myFolder) exit();
var f = myFolder.getFiles(/\.(indd)$/i);
var doc;
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
//Opens each ID file and runs the
for (var i = 0; i < f.length; i++){
doc = app.open(File(f[i]));
doc.links.everyItem().update();
OpenAndUpdate(doc);
};
i select a folder for scan all indd files
but i have so much files (1000 files),i want select only file with name "etiquette finie.indd" (70 files)
thanks for you help
