Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to assign colour to a variable?

Participant ,
Mar 14, 2014 Mar 14, 2014

In a project have a dozen of half titles that divides the book in these parts.

Only a master page, no chapters, no sections.

In the master is inserted a variable (running header) based on the twelve half titles to identify in each page the parts (1-12)

I need to change the colour of this running header instead of creating twenty master pages.

Has it to be scripted?

TOPICS
Scripting
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 14, 2014 Mar 14, 2014

I send you a private message with a wetransfer link.

Translate
Mentor ,
Mar 14, 2014 Mar 14, 2014

Hi,

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).

Jarek

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 14, 2014 Mar 14, 2014

Jarek,

Perhaps master pages for the moment.

Thanks for these tips.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2014 Mar 14, 2014

Hi Camilo,

If this is what you want to do, that can be done with variables.

Capture d’écran 2014-03-14 à 15.49.06.png

With left and right pages:

Capture d’écran 2014-03-14 à 16.06.29.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 14, 2014 Mar 14, 2014

Hi Obi,

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?

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2014 Mar 14, 2014

Easier I post the ID file. What ID version do you use? (I use CC).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 14, 2014 Mar 14, 2014

Yes, CC. Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2014 Mar 14, 2014

Camilo,

I can't send the ID file. Have you an email (in private) for a We-Transfert?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2014 Mar 14, 2014

I send you a private message with a wetransfer link.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 14, 2014 Mar 14, 2014
LATEST

Obi,

Yes, thanks a lot.

It is working.

I will use later and make some comments.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines