features request quick argument rename
Dec 14 2019 | 3:14 am
Hi C74 ,
Paste replace was a great upgrade , can we add to it please
Would it be possible to set up a quick system to rename arguments in one go .
for example : if you have multiple [s user1] [s user2 ] [s user3 ]etc... and then you decide you want to change these to for ex [s Myuser1] [s Myuser2 ] [s Myuser3 ] etc.... it could be a simple shortkey combo that would give the selected object's arguments and you could replace them there.
BUT A BETTER SOLUTION WOULD BE ;
An autoname number increment @ttribute on duplication object.
give the user the option in the inspector. Something like @autoname 1
so every time you have an object say [select bill] <-uppon creation it will automatically become [select bill0]
if you copy paste it , it will become [select bill1 ] [select bill2 ] etc......
for the folks who don't to use this they could simple leave the option unchecked in the inspector.
how to make this quick change.
you already have half the work done, in the scripting name <-- it auto increments <-- simply use that to rewrite the name :-)
which bring me to a 2nd half request;
creating a max object call thisobject with a getname message <-- this object would give the option to have the object's scriptingname number. I know we can do it with with js this.patcher getname or getvarname I think it was.
It would behave exactly like the thispoly in poly~ but from with subpatchers.
PLEASE PLEASE PLEASE.
The amount of time saved would be insane and more focus on creation would come out of it.
thanks
phiol