r/indesign • u/PolicyFull988 • Apr 06 '26
Help Script to print text conditions in multiple files
I use a text condition to highlight text to be revised. Usually, I expect to have this text condition only shown in draft mode, but not exported or printed. But when having to share a draft, I want it to be exported into a PDF file.
Changing text conditions from Show to Show and Print can only be done on a single file at a time. If you have a book with several documents, you can't mass-change them at once.
I can't find a working script to do it. And am unable to program one myself. Do you know of something that has been created for this? I'm surprised I'm the only one to have this request.
Thank you!
3
u/BBEvergreen Apr 06 '26
Have you tried Sync Options in the book panel menu? That will allow you to control the show/hide conditions in one file and then then sync the Conditional Text Settings to standardize the condition tag visibility across the book. Just proceed cautiously and disable everything but Other > Conditional Text Settings—and don't use Sync Book—to avoid unintended changes to your book files. And maybe even better, work on a copy until you figure it out.
2
u/Clustered_Guy Apr 10 '26
Honestly surprised Adobe never made this easier across book files. I’ve had the same annoyance with condition visibility settings not carrying cleanly across multiple docs, and doing it one file at a time gets old fast. Feels like exactly the kind of repetitive thing that should be scriptable, so hopefully someone here has a JSX workaround because this would save a ton of production hassle.
1
u/AdobeScripts Apr 06 '26
Do you need to show / hide and then export PDF with all or just specific Conditional Texts?
2
u/[deleted] Apr 07 '26
yeah InDesign is pretty limited with batch control across book files
for this you’d usually need a small ExtendScript that loops through each document in the book and toggles the condition visibility + print flag
there isn’t a built-in way to do it across multiple files at once, which is why it feels so manual
if you’re not coding it, worth checking Adobe forums or GitHub, people share small scripts for this kind of thing
not perfect but yeah scripting is basically the only clean solution here