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

page item name property in UI

Explorer ,
Jan 14, 2013 Jan 14, 2013

Does anyone know if the name property of a page item appear anywhere in the user interface in Illustratpr CS6?

I thought it would be the name you assign to it in the Layers palette, but it does not appear to be.

TOPICS
Scripting
708
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
Adobe
Community Expert ,
Jan 14, 2013 Jan 14, 2013

I don't have CS6, but yes, the name is what you see in the Layers palette...show you code and the layers palette expanded.

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 ,
Jan 14, 2013 Jan 14, 2013
LATEST

You have an opened document with page items?

try this:

app.activeDocument.layers[0].pageItems[0].name = "my Item #1";

app.activeDocument.layers[0].pageItems[0].selected = true;

app.redraw();

alert(app.activeDocument.layers[0].pageItems[0].name);

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