Skip to main content
Inspiring
February 16, 2023
Answered

How to set show and print as indicator in conditional text for exporting using Javascript

  • February 16, 2023
  • 2 replies
  • 789 views

 

Correct answer Karthik SG
app.activeDocument.conditionalTextPreferences.showConditionIndicators =  ConditionIndicatorMode.SHOW_AND_PRINT_INDICATORS;

2 replies

Community Expert
February 16, 2023

Can you please elaborate a bit more on this?

I'm not sure what exactly what's going on here. 
I'm by no means a script expert but I like to try.

Inspiring
February 17, 2023

I am using conditional text to highlight certain contents in the document. However, when I tried to export it as a PDF, the highlights applied via conditional text did not show up. When I chose the 'show and print' option from the Indicators dropdown, the highlights were visible in the PDF. But I don't find this relevant property in scripting!

Karthik SGAuthorCorrect answer
Inspiring
February 17, 2023
app.activeDocument.conditionalTextPreferences.showConditionIndicators =  ConditionIndicatorMode.SHOW_AND_PRINT_INDICATORS;