Skip to main content
Inspiring
January 14, 2013
Question

page item name property in UI

  • January 14, 2013
  • 2 replies
  • 714 views

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.

This topic has been closed for replies.

2 replies

pixxxelschubser
Community Expert
Community Expert
January 14, 2013

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

CarlosCanto
Community Expert
Community Expert
January 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.