myFile.documentPreferences.facingPages=ARGH
If I run the line:
app.activeDocument.documentPreferences.facingPages=false
I get exactly the results I want.
If I to run this:
var myFolder = Folder.selectDialog();
var files = myFolder.getFiles ();
for(i = 0, l = files.length; i <l; i++) {
myFile = app.open(files, true)
myFile.documentPreferences.facingPages=false
myFile.close(SaveOptions.YES);
}
InDesign crashes!
What am I doing wrong? I feel like this should work no problem. I feel like I already had to working! Haha anyways I hope there is a simple explanation for a simpleton like me.
Thanks,
Kurtis