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

ScriptLabel for a Column

Explorer ,
Nov 06, 2011 Nov 06, 2011

Hi all,

In the InDesign UI, I can select a Tbale Column, and enter a vlaue for its ScriptLabel in the ScriptLabel panel. However, in the scripting DOM, ther Column object does not contain a Laebl property. So how is the InDesign UI doeing this, and how can I read/change the value for a Column ScriptLabel using scripting?

TIA,

mlavie

TOPICS
Scripting
971
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 ,
Nov 06, 2011 Nov 06, 2011

It's probably setting the label of the first cell.

Harbs

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
Community Expert ,
Nov 08, 2011 Nov 08, 2011

@mlavie:

as you have stated, there is no label property for columns (additionally: there is no label property for rows, too).
There is a label property for  [Table] and [Cell] objects,

What you have here is a problem that relies to the UI and the ScriptLabels palette.
Sometimes the ScriptLabels palette is wrong in showing you  entries that only rely to one part of the user's selection. This might be one case.

However, in the UI you can apply the same ScriptLabel to different cells at one time, if you select more than one cell and then apply a new label.
Take your example: if you select the first row of your table and apply a label through UI's ScriptLabels palette you individually do that to every cell in that row.

Unfortunately, if you then add column 2 to the selection, the ScriptLabels palette shows you the same entry as for row 1. In fact there are no entries set to row 2 or to all cells in row 2.

I think this behaviour of the ScriptLabels palette is a bug.

Uwe

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
Explorer ,
Nov 08, 2011 Nov 08, 2011

Hallo @Uwe,

After further research, I reached the same conclusion as you - both about InDesign's de facto behavior, and also that this really is illogical and thus a bug.

MfG,

mlavie

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
Community Expert ,
Nov 08, 2011 Nov 08, 2011

After rereading my post:
"… if you then add column 2 to the selection, the ScriptLabels palette shows you the same entry as for row 1. In fact there are no entries set to row 2 or to all cells in row 2"

should read as:
"Unfortunately, if you then add column 2 to the selection, the ScriptLabels palette shows you the same entry as for column 1. In fact there are no entries set to column 2 or to all cells in column 2"

Same goes for rows.

The conclusion is all the same…

Uwe

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
Community Expert ,
Nov 08, 2011 Nov 08, 2011
LATEST

And I could trace this behaviour of the ScriptLabels palette back to InDesign CS3, CS4 and CS5.

It's a rather old bug.

@all: is that a known bug? Are there any bug reports on that issue?

Uwe

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