[PD] get send-names from gui objects

Jonathan Wilkes jancsika at yahoo.com
Tue May 20 18:13:14 CEST 2014


You could do a massive search and replace and change the "r" in "r bang[0-9]+" to "r-say-my-name".

Then make an abstraction named r-say-my-name.pd that has the following inside it:

[r $1]
|
[bang]
|
[symbol $1]
|
[outlet]

***

That will get you the name of the receiver, which you can send to "myplace".  If you want to extract the "1" off the end you need to use some externals to split your symbol.  (Sorry, I can't remember which ones can be used to do that job atm.)

-Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140520/f294af65/attachment.html>


More information about the Pd-list mailing list