How to get a patcher name (or arg) as a variable
Jan 02 2015 | 11:22 pm
Hi,
I have a series of patchers that correspond to different tracks. For example, inside patcher 1 is a route object called route /track_1/x and inside patcher 2 is an object that says route /track_2/x
Is there a way for me to make the number in the parent patcher name a variable so that instead of individually changing all of the instances of the number 1 to number 3, I could just copy and paste the patcher and change the parent name "patcher 1" to "patcher 3" and all the contained objects with 1 would change names.
i.e.
I want to be able to copy and paste the patcher named patcher 1, change its name to patcher 3 and have all of the objects inside that used to say things like /route_1 to /route_3
I would like to use the name (or argument) as a variable (like $i sometimes is). In other programs this is done with things called iterators but I am not sure about MAX. Thanks