NO (easy) WAY, I am afraid:
1. Placing variable on master means a doc has ONLY one variable instance;
2. Overriding each variable parent textFrame leads to have many instances;
3. Script can compare textVariableInstance.resultText to detect the change's milestones;
4. Script can apply other color to this instance but this operation is static (related to current resultTexts).
Perhaps master pages for the moment.
Thanks for these tips.
The document only has one master page.
And only one kind of heading in paragraph styles.
(page 1 title A, page 2-20 needs this title A like a little heading)
(page 21 title B, page 21-45 needs this title B like a little heading)
Are you obtaining this? How?
Easier I post the ID file. What ID version do you use? (I use CC).
Yes, CC. Thanks!
I can't send the ID file. Have you an email (in private) for a We-Transfert?
I send you a private message with a wetransfer link.
Yes, thanks a lot.
It is working.
I will use later and make some comments.