(...) Any script find out all para style list who goes plus "+". (...)
"Plus", you can see at parastyle panel shows/hides depending on paragraph, you selected.
Same paragraphStyle can have "plus" or not, depending on your selection.
You are going to look for 1-element list which is dinamic
You should look for a list of paragraphs, which are overridden, comparing to applied paraStyle attributes.
If your goal is to clear overrides - use story.clearOverrides(OverrideType.PARAGRAPH_ONLY)
if your goal is to have a list of paragraphStyle, which are applied to, when paragraph overridden is cleared ==>
open loop of paragraphs ==> select paragraph ==> use .addEventListener with eventType AFTER_SELECTION_ATTRIBUTE_CHANGED and function as a handler, which can add this paraStyle name to the list ==> use clearOverrides ==> close loop of paragraphs ==> undo or not.
can u give the script for this threat ,,
Your Logic is so cool but not goes in impliment.,,?
1 person found this helpful
FYI, the below script uses a hidden feature that allows to show style local overrides:
[Does not solve your problem, but may be good to know.]
Thank you sooooooo much.