about batch renaming and creating objects
I have been exploring object "thispatcher" and all the script messages, but still can’t find a straight forward way to do batch renaming and creating objects in a sequentially named fashion.Sure it could be done, but not intuitive at all.
I am wondering if there is an easy way to do the following simple scenario:
Select the objects you want, then batch rename them in various fashion, just like the batch renaming functions from applications like Bridge or A Better Finder Rename, in other words you can find and replace object names in a batched way.
If there is no obvious solution, I highly request this super common purpose feature in future release.
If you know you want named objects, I’d name them upon creation rather than afterwards. Easy enough with array notation: make the first object and call it
then when you duplicate, they’ll be auto-named sequentially. So the same can be used when creating objects with [thispatcher], just use [sprintf] to make the object names in the order you want.
[autopattr @autoname 1] will name everything at once, but the names might not be what you want.
IIRC I think the Max Toolbox (by Nathaniel LeCaude) lets you do this: naming a row or column of objects. Again, it uses js to do the magic. If you don’t have the Toolbox you definitely should check it out for all its other goodies too ;)
Ah, so the name of the object itself, like different send and receive objects. Gotcha. I think only JS can rename existing ones in that way, though am not sure.