Help with creating a script to make renaming layer objects faster
Hello
As a frequent user of InDesign, I've been finding the limited functionality and slowness to rename objects within a layer a pain. Compared to other Adobe products like Premiere Pro, where you can press the spacebar to easily rename layers, InDesign is slow and painful.
I've reached out to the customer service support many times with no avail to help this issue. I was recently told that "For assistance with exact script, you should post your query on Adobe Support Community, an expert from Adobe Engineering Team should be able to help" so I'm looking for help here.
With some research, I found multiple forums that support the idea that a script can be created to overcome the renaming issue. The scripts allow a batch rename of layers or objects within a layer all at once, so it doesn't need to be done manually.
Here are some links to those forums:
- https://community.adobe.com/t5/indesign/indd-script-for-renaming-within-layers/td-p/9649122
- https://community.adobe.com/t5/indesign/changing-layer-names-with-a-script-in-indesign-or-applescript/m-p/8659285
In my case, I would like the objects within a layer to be easily renamed using the script.
In the screenshot below, you can see six objects with the name <One>. I would like the script to rename these layers to:
100
101
102
103
104
105
106

I am not a script writing guru, but can follow instruction well. Please help with this as it's a huge efficiency issue for me, as I can have hundreds of objects which I currently need to rename manually. The renaming of these objects is important as I frequently use buttons for interactive forms, so the "Set Tab Order..." function is crucial. It would be worlds easier if the script could rename these objects for me, so all I need to do is make sure they are placed in the correct order under the Layer.
Hopefully this makes sense, but please let me know if it doesn't as I can answer any required questions.
Please help me! Any assistance is greatly appreciated.
Thanks
Lou
