Skip to main content
Participant
August 10, 2024
Answered

change all non-printable buttons to printable?

  • August 10, 2024
  • 1 reply
  • 288 views

I have 100s of buttons in an InDesign document that are set to non-printable.

they all need to be set to printable.

Is there an easy way to do this (either using a script or export options)?

This topic has been closed for replies.
Correct answer Laubender

Hi @Stephen34495120all9 ,

to save ExtendScript (JavaScript) code for InDesign to a *.jsx file copy the code to an unformatted text file* and save it with suffix .jsx , how to install the file so that you can see it in InDesign's Scripts panel under User see:

Marc Autret:

https://indiscripts.com/pages/help#hd0sb2

Dan Rodney:

https://www.danrodney.com/scripts/directions-installingscripts.html

 

* When on macOSX you could use TextEdit App. Toggle from formatted text (default in TextEdit) to unformatted text with CMD + T.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

1 reply

Robert at ID-Tasker
Legend
August 10, 2024

Not sure if that's what you are talking about - replying from my phone:

 

 

app.activeDocument.buttons.everyItem().printableInPdf = true;

 

Or: 

 

app.activeDocument.buttons.everyItem().nonprinting = false;

 

Participant
August 14, 2024

Thank you for the quick reply.

I know this is a stupid question - please let me know if I should use a JavaScript script, and if so, do I need to add more code? I tried several variarions and couldn't get the code to run prpoerly.  Thank you.

LaubenderCommunity ExpertCorrect answer
Community Expert
August 14, 2024

Hi @Stephen34495120all9 ,

to save ExtendScript (JavaScript) code for InDesign to a *.jsx file copy the code to an unformatted text file* and save it with suffix .jsx , how to install the file so that you can see it in InDesign's Scripts panel under User see:

Marc Autret:

https://indiscripts.com/pages/help#hd0sb2

Dan Rodney:

https://www.danrodney.com/scripts/directions-installingscripts.html

 

* When on macOSX you could use TextEdit App. Toggle from formatted text (default in TextEdit) to unformatted text with CMD + T.

 

Regards,
Uwe Laubender
( Adobe Community Expert )