How do you rename a sublayer/object in the Layer's Panel of InDesign 2021?

Dec 10, 2020

Copy link to clipboard

Copied

In the previous versions of InDesign all I had to do was double click on the name of the layer/object in the layers panel and I could then edit the name as needed. Now when I (single/double/triple) click on the layer name, the text highlights for a millisecond and then goes back to being greyed out.

 

This isn't a glitch with the OS/my mouse/touchpad because it works in Finder, Photoshop & Illustrator to rename files this way.

@Adobe A rename option in the layer's panel menu would be really helpful

Thanks Bob, this is what I did to install the script but it's not working. Is there a step I'm missing or a setting I need to change?

Anyway I figured out the answer to my original problem.

Undock the Layers Panel and let it float. Clicking on the name should now allow the name to be edited. It appears that this feature doesn't work for renaming Page Items that are under the layers if the Layers Panel is docked.

TOPICS
How to

Views

126

Likes

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

How do you rename a sublayer/object in the Layer's Panel of InDesign 2021?

Dec 10, 2020

Copy link to clipboard

Copied

In the previous versions of InDesign all I had to do was double click on the name of the layer/object in the layers panel and I could then edit the name as needed. Now when I (single/double/triple) click on the layer name, the text highlights for a millisecond and then goes back to being greyed out.

 

This isn't a glitch with the OS/my mouse/touchpad because it works in Finder, Photoshop & Illustrator to rename files this way.

@Adobe A rename option in the layer's panel menu would be really helpful

Thanks Bob, this is what I did to install the script but it's not working. Is there a step I'm missing or a setting I need to change?

Anyway I figured out the answer to my original problem.

Undock the Layers Panel and let it float. Clicking on the name should now allow the name to be edited. It appears that this feature doesn't work for renaming Page Items that are under the layers if the Layers Panel is docked.

TOPICS
How to

Views

127

Likes

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
Dec 10, 2020 0
Most Valuable Participant ,
Dec 10, 2020

Copy link to clipboard

Copied

No problem here on Windows 10. Have you tried resetting your preferences.

Likes

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
Reply
Loading...
Dec 10, 2020 0
Adobe Community Professional ,
Dec 10, 2020

Copy link to clipboard

Copied

No problem with InDesign 2021 on macOS 15.6:

 

To edit a layer name, it's not double click: It's click - pause - click.

 

Screen Shot 2020-12-10 at 11.27.00 AM.png

Likes

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
Reply
Loading...
Dec 10, 2020 0
Most Valuable Participant ,
Dec 10, 2020

Copy link to clipboard

Copied

That's the method I prefer, but you can double click to bring up the layer options where you can also do the renaming.

Likes

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
Reply
Loading...
Dec 10, 2020 0
Dec 11, 2020

Copy link to clipboard

Copied

Thanks for your responses. I'm trying to edit the name of a Page Item which is like a sub-layer of a standard layer:

Layer Page Items.png


I'm on Mac OS 11.0.1. (Big Sur) using InDesign 16.0.1 (2021)
Clicking directly with a pause used to work on InDesign 15 (2020) with Mac OS 10 but when I updated to InDesign 16.0.1 (2021) on Mac OS 11, the rename feature stopped working properly. I updated the OS and InDesign around the same time. It appears to be a problem with a combination of both Mac OS 11 and InDesign 16
I've tried clearing the Cache and deleting the Preferences and that hasn't worked. Trying the script that rob day suggested but having problems executing the script.


Likes

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
Reply
Loading...
Dec 11, 2020 0
Adobe Community Professional ,
Dec 11, 2020

Copy link to clipboard

Copied

Seems to be a Big Sur problem. The link I posted includes a renaming script

Likes

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
Reply
Loading...
Dec 11, 2020 1
Adobe Community Professional ,
Dec 11, 2020

Copy link to clipboard

Copied

but having problems executing the script

 

You have to save the code in a plain text editor or ExtendScript Toolkit with a .jsx extension into your Scripts Panel folder.

/Applications/Adobe InDesign 2021/Scripts/Scripts Panel

 

Before running select the page item listed in Layers panel and run the script from the Scripts panel. You can also assign a key command.

 

 

Screen Shot 9.pngScreen Shot 10.png

Likes

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
Reply
Loading...
Dec 11, 2020 1
Dec 11, 2020

Copy link to clipboard

Copied

Thanks Bob, this is what I did to install the script but it's not working. Is there a step I'm missing or a setting I need to change?

Anyway I figured out the answer to my original problem.

Undock the Layers Panel and let it float. Clicking on the name should now allow the name to be edited. It appears that this feature doesn't work for renaming Page Items that are under the layers if the Layers Panel is docked.

Likes

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
Reply
Loading...
Dec 11, 2020 0
Adobe Community Professional ,
Dec 10, 2020

Copy link to clipboard

Copied

Page items listed in a Layer (sub layers) don’t have a Layer Options dialog on a double-click—to rename it is two single clicks as Steve suggests. This may be an OSX problem. Check this thread:

 

https://community.adobe.com/t5/indesign/can-t-rename-layers-indesign-2021-16-0-also-happened-in-2020...

Likes

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
Reply
Loading...
Dec 10, 2020 1
Adobe Community Professional ,
Dec 11, 2020

Copy link to clipboard

Copied

Hi MrMensah,

hm… There are no sub-layers in InDesign.

 

What you might regard as sub-layers are perhaps nested objects in structures like groups or groups inside groups. Or pasted inside objects in graphic frames. Or objects in active states of buttons or MSOs ( MultiState Objects ) .

 

That aside, it seems that some users on Mac OS X have problems to rename objects in the Layer Panel. We recently see some threads in the forum. All in common were that InDesign is running on Mac OS X. As far as I can see there is no known cause for this; also no direct fix.

 

One workaround is to drag the Layers Panel out of its docked state with other panels. Then renaming should work as expected.. On Windows 10 I have no issues with that. My Layers panel could be docked or undocked.

 

In any case, if you want to rename an object in the Layers panel, not the layer itself, select the object on the page and run the following ExtendScript (JavaScript) code which is a minimum version of the script code Rob provided:

 

app.selection[0].name = "My New Name";

 

The new name of the selected object is enclosed in straight quotes and is assigned to the name property of the selected object. Rob has a user interface for this so you prefer that.

 

If you want to rename the layer itself, select an object on the layer you want to rename, run the following minimum code:

 

app.selection[0].itemLayer.name = "My New Name";

 

 

Note: The script code above will not work on selected text ( or selected tables or table cells ) .

Make sure that you select only one single object.

 

How to make a script file out of copy/pasted code, how to install the script file so that InDesign can see the script in the Scripts Panel and finally how to run the script, see Marc Autret's description:

https://www.indiscripts.com/pages/help#hd0sb2

 

Regards,
Uwe Laubender

( ACP )

Likes

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
Reply
Loading...
Dec 11, 2020 0
Dec 11, 2020

Copy link to clipboard

Copied

Thanks @Laubender I was referring to Page Items (such as the <polygon> in the image below) when I said sub-layers.

Layer Page Items.png

 

I tried executing these 2 scripts but was unable to.

 

Figured out the answer to my original qeustion, it appears to be a bug:

Undock the Layers Panel and let it float. Clicking on the name should now allow the name to be edited. It appears that this feature doesn't work for renaming Page Items that are under the layers if the Layers Panel is docked.

Likes

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
Reply
Loading...
Dec 11, 2020 0
Adobe Community Professional ,
Dec 11, 2020

Copy link to clipboard

Copied

In InDesign 2021 with macOS 10.15.7, I'm still not  having problem editing the names of  page items when the Layers panel is docked. See illustration below:

 

Screen Shot 2020-12-11 at 3.31.57 PM.png

 

Screen Shot 2020-12-11 at 3.34.31 PM.png

Likes

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
Reply
Loading...
Dec 11, 2020 0
Dec 14, 2020

Copy link to clipboard

Copied

@Steve Werner  Yes, it works fine with macOS 10. The problem is with macOS 11. 

Likes

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
Reply
Loading...
Dec 14, 2020 0
Adobe Community Professional ,
Dec 14, 2020

Copy link to clipboard

Copied

...Which is why it's often not a good idea to install a MAJOR new OS version on  production machines until at least a couple bug fix updates have passed by!

Likes

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
Reply
Loading...
Dec 14, 2020 0
Dec 14, 2020

Copy link to clipboard

Copied

Great point but if nobody updates then how thse things get figured out? 

Likes

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
Reply
Loading...
Dec 14, 2020 0
Adobe Community Professional ,
Dec 14, 2020

Copy link to clipboard

Copied

Good point! I hope you report the issue here so the InDesign engineers have a change to make sure it's fixed either in the next Big Sur update or the next InDesign update:

 

https://indesign.uservoice.com

 

The product managers and engineers track bug reports there. But reporting them here is hit or miss.

Likes

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
Reply
Loading...
Dec 14, 2020 1