Answered
Open documents within a folder without specifying filenames
Hi there,
I need to batch apply some script to all documents within a specified folder. Can I open each document one by one without specifying the filename?
So, instead of:
var myDocument = app.open(File(Folder.desktop + "/OpenDocument.indd"));Something like:
var myDocument = app.open(File(Folder.desktop + "/" + documents[0]));Obviously that doesn't work, but hopefully it illustrates what I am trying to achieve.
Thanks in advance,
rmsteel