Extecndscript ShowConditionalText as per condition ...
Okay - I have a script that was deleting paragraphs based on markers, it wasn't working with hidden conditional formatting so I added:
doc.ShowAll = true;at the beginning of the script and
doc.ShowAll = false;at the end, which works.
I have a new scirpt which inserts a file as a copy at the beginning of the active document. When it does this, it tends to show all of the conditional text in the active document.
I added doc.ShowAll = false; at the end of the script, but it doesn't seem to work (occasionally it does, but usually it does not.
I tried doc.ShowAll = 0; but that didn't work either.
I saw on page 694 (Electronic) of the Framemaker scripting manual that there is supposed to be a book property so I tried:
doc.ApplyConditionalSettings(Constants.FV_ShowAsPerConditions);But it said that wasn't a function.
I realize it's pretty easy to click the button manually, but still ...
