Last active
May 24, 2018 14:11
-
-
Save Neoglyph/e07d89a44ba413bbb11c79c93d2ccb38 to your computer and use it in GitHub Desktop.
InDesign Select Folder + All Files Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myFolder = Folder.selectDialog("Select a folder with InDesign files"); | |
if (!myFolder) | |
exit(0); | |
var myFileList = myFolder.getFiles(); | |
for (var i = 0; i < myFileList.length; i++) { | |
var myFile = myFileList[i]; | |
if (myFile instanceof File && myFile.name.match(/\.indd$/i)) { | |
app.open(myFile); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment