How to EXCLUDE MasterPage items when bulk exporting all text Frames
问题 When I'm exporting all text frames from a file, the script sees the textframes in the masterpage and messes up the calculation and gives an error at the end because those frames are locked and can't be exported. var myDoc = app.activeDocument; var myFolder = myDoc.filePath; var myImage = myDoc.textFrames; var JPEGFolder = new Folder(myFolder+"/"+app.activeDocument.name+"_"+"JPEG"); if (!JPEGFolder.exists) JPEGFolder.create(); var PromFolder = new Folder(myFolder+"/"+app.activeDocument.name+"_