Hello I am trying to make a script where it opens all indesign files in a folder and edits them.
Currently trying to open the files, heres what I have:
tell application "Adobe InDesign CC 2015"
open (every file of folder "test1" whose name ends with ".indd")
Indesign has no idea at all what files and folders are.
System Events) have knowledge about the file system
tell application "Finder" to set indesignFiles to (files of folder "test1" whose name extension is "indd") as alias list tell application "Adobe InDesign CC 2015" open indesignFiles end tell
Consider that in the
Finder the folder
test1 is a subfolder of the desktop folder.