Hi, i have a big patch with a lot of subpatches and i need to automatically change all the messages [2.29( with [2.30( in all the subpatches.
Is there any way to automatically replace a message value in allsubpatches of a patch?
cheers
R.
You could open the patches in a text editor and just find and replace. If there is a huge amount of subpatches, you might want to write a script to go in and do it.
On 05/30/2014 05:06 PM, Ronni Montoya via Pd-list wrote:
Hi, i have a big patch with a lot of subpatches and i need to automatically change all the messages [2.29( with [2.30( in all the subpatches.
Is there any way to automatically replace a message value in allsubpatches of a patch?
cheers
R.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 05/31/2014 02:06 AM, Ronni Montoya via Pd-list wrote:
Hi, i have a big patch with a lot of subpatches and i need to automatically change all the messages [2.29( with [2.30( in all the subpatches.
Is there any way to automatically replace a message value in allsubpatches of a patch?
no. but this is what we have abstractions for: code re-use.
if you have code that is used more often than once (1x), you should learn about abstractions and not use subpatches.
or use david's suggestion of opening the patch in a text-editor and do a search-and-replace.
fgamrds IOhannes