I am looping through a folder of InDesign documents. Is there an easy way to check and see if a particular document is already open in InDesign? Thanks in advance. -Rick
Just do something like
openDocsList = "@@@" + File.decode(app.documents.everyItem().fullName).join("@@@") + "@@@";
isOpen = openDocsList.indexOf(File.decode("@@@" + myFileToCheck + "@@@")) + 1;
Not tried but HTH
Retrieving data ...