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

Selectively Overrides Masters Text Frame

Community Expert ,
Jul 25, 2012 Jul 25, 2012

Copy link to clipboard

Copied

I have tow scenario where it would be useful to be able to run a script that will overrides only some masters text frame and not the rest of the masters object.

Here the two case:

1) When I use a Numbered List in a master to add numerotation to every pages or n-numbres of pages.

2) When some master have text frame that should be use in Table of Content

Now what is the easiest way to script that? At first I was thinking a script when run can ask a specific paragraph style and overrides all text frame containing them. But I think it would be more easy to just add a Script Label to the masters frame when created, and than a script when run will locate and overrides all text frame with that label. Possible?

So what is the best approach to create such a script? Any hints?

Thanks

Jean-Claude

TOPICS
Scripting

Views

1.1K

Translate

Translate

Report

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
Advocate ,
Jul 25, 2012 Jul 25, 2012

Copy link to clipboard

Copied

Hi Jean,

I am always use the Script Label to identify the master objects in pages. So its better to use the Script Lable is best I feel.

thx,

csm_phil

Votes

Translate

Translate

Report

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 ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

FWIW, I prefer object names (via the layers panel) to script labels, but both work (more or less) equally well.

Harbs

Votes

Translate

Translate

Report

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
Advisor ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

Harbs. wrote:

FWIW, I prefer object names (via the layers panel) to script labels...

Yes, no silly workarounds needed for searching by script label.

Votes

Translate

Translate

Report

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
Community Expert ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

LATEST

Thanks for you expertises my friends!

Votes

Translate

Translate

Report

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