Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

I have created a script for activating show and print option in condtional text. but it works fine in most of the chapter but it does not activate some chapter. Please advise for this issue

$
0
0

Please see the script below

 

var myEventListener = app.eventListeners.add("afterOpen", placeFilesOnDoubleClick, false);

var myEventListener = app.eventListeners.add("afterClose", placeFilesOnDoubleClick1, false);

 

function placeFilesOnDoubleClick()

{

    app.conditionalTextPreferences.showConditionIndicators = ConditionIndicatorMode.SHOW_AND_PRINT_INDICATORS;

}


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>