I have created a script for the activation of show and print option in the text condtional. It works very well in most of the chapter, but it does not activate some chapter. Please advise for that matter

Please see the below script

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

myEventListener var = app.eventListeners.add ("AfterClose (AprèsFermeture)", placeFilesOnDoubleClick1, false);

function placeFilesOnDoubleClick()

{

app.conditionalTextPreferences.showConditionIndicators = ConditionIndicatorMode.SHOW_AND_PRINT_INDICATORS;

}

Hello

Set this property to app relates to a new doc created from that moment.

Set this property instead of the app activeDocument.

app.activeDocument.conditionalTextPreferences.showConditionIndicators = ConditionIndicatorMode.SHOW_AND_PRINT_INDICATORS;

Be awared that afterOpen is triggered two times: after opening a doc and after opening a window for this doc.

However in your case he just defined same property twice, so is not serious

Jarek

Tags: InDesign

Similar Questions

Maybe you are looking for

  • Thunderbird icons appear on the desktop and the taskbar, but not will NOT open

    All of a sudden this am when I tried to re - open Thunderbird after previously clicking on 'Leave' none of its icons work to re - open on the desktop or the taskbar. He willnot open all programs or etc. Other forms of e-mail using the same address to

  • Can't connect to yahoo mail with Mozzilla

    Before installing Mozzilla, I was able to sign on to Yahoo Mail. Now, when I try to log in, I hit the sign in and nothing happens. If I use IE, then it works fine. I tried to clear cookies and cache and still nothing happens

  • Reset iTunes game

    I want to reset my iTunes Macth and told me to remove all songs from within my library and make sure that I click on 'delete cloud '. If I do this, it will delete my music purchased iTunes to the cloud, so I won't be able to upload my story bought it

  • Need help on replacement of T400 keyboard arrow keys!

    Hi all I made the mistake of dangerous to remove the arrows, to clean the keyboard of my T400, and I am now fighting to put them up. The arrows are not damaged and I have not lost the small components of the keys. However, after several tries, I don'

  • computer laptop quit working now I can't come back, suggestions

    I have a HP Pavilion dv7 purchased 2009. I got a low disk space error yesterday and done a disc cleanup, but I did not stop then.