Copy link to clipboard
Copied
Hi,
I'm trying to check allow pages to shuffle and allow spread to shuffle in a document. I'm very very new to this so this is what I have;
I think the var of my spread is wrong, but I can't find the correct definition...
var doc = app.activeDocument
var spread = app.activeDocument.spreads
doc.documentPreferences.allowPageShuffle = true;
spread.allowPageShuffle = true;
Thanks for the help!
Vanessa
You need to define which spread or everything in the document.. like below
var doc = app.activeDocument
var spread = app.activeDocument.spreads.everyItem()
doc.documentPreferences.allowPageShuffle = true;
spread.allowPageShuffle = true;
HTH
Copy link to clipboard
Copied
You need to define which spread or everything in the document.. like below
var doc = app.activeDocument
var spread = app.activeDocument.spreads.everyItem()
doc.documentPreferences.allowPageShuffle = true;
spread.allowPageShuffle = true;
HTH
Copy link to clipboard
Copied
yes, that's it! so simple, but I'm missing the basics... I'm reading the tutorial now, to get where / what the right coding is...
Thanks a bunch!
V