I guess the title says it all. Instead of a loadbang, this thing would emit a bang whenever a patcher is restored (e.g. [pd something] is closed by default, and every time it is restored, obviously after being closed it would emit a bang from this object). Is there such a thing?
Ico
try [closebang] - read help file
Jurgen
On Oct 31, 2009, at 9:23 PM, Ivica Ico Bukvic wrote:
I guess the title says it all. Instead of a loadbang, this thing would emit a bang whenever a patcher is restored (e.g. [pd something] is closed by default, and every time it is restored, obviously after
being closed it would emit a bang from this object). Is there such a thing?Ico
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Sat, 2009-10-31 at 21:43 +0800, jurgen wrote:
try [closebang] - read help file
Jurgen
Thanks for the info! However, this works when closing the entire patch but not sub-patchers. Likewise, I would need something that bangs when you open sub-patchers. I guess "restore" was the wrong terminology to use here.
I found initbang linked from closebang, but it does nothing. Please see attached patch.
Ico
Hallo, Ivica Ico Bukvic hat gesagt: // Ivica Ico Bukvic wrote:
On Sat, 2009-10-31 at 21:43 +0800, jurgen wrote:
try [closebang] - read help file
Jurgen
Thanks for the info! However, this works when closing the entire patch but not sub-patchers. Likewise, I would need something that bangs when you open sub-patchers. I guess "restore" was the wrong terminology to use here.
Depending on your goals, the following may be a solution: You can open and close not only by clicking on it, but also by sending the message "vis 0/1" to the subpatch-receiver. Example:
[pd mysub]
[tgl] | [vis $1( | [s pd-mysub]
If you only open or close a subpatch this way, you can follow any state changes by reading from [r pd-mysub].
Frank
On Sat, Oct 31, 2009 at 7:08 AM, Frank Barknecht fbar@footils.org wrote:
Hallo, Ivica Ico Bukvic hat gesagt: // Ivica Ico Bukvic wrote:
On Sat, 2009-10-31 at 21:43 +0800, jurgen wrote:
try [closebang] - read help file
Jurgen
Thanks for the info! However, this works when closing the entire patch but not sub-patchers. Likewise, I would need something that bangs when you open sub-patchers. I guess "restore" was the wrong terminology to use here.
Hi Ivica The [tot] object from toxy will emit a bang from its right outlet whenever a subpatch is opened. I can't recall any ways to know when a subpatch has been closed though ([active] from Cyclone will tell you about its focused state).
Best Luke
Depending on your goals, the following may be a solution: You can open and close not only by clicking on it, but also by sending the message "vis 0/1" to the subpatch-receiver. Example:
[pd mysub]
[tgl] | [vis $1( | [s pd-mysub]
If you only open or close a subpatch this way, you can follow any state changes by reading from [r pd-mysub].
Ciao
Frank
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
grid object from
http://ydegoyon.free.fr/software.html
has this behaviour too.( if i remember well)
2009/10/31 Luke Iannini lukexipd@gmail.com
On Sat, Oct 31, 2009 at 7:08 AM, Frank Barknecht fbar@footils.org wrote:
Hallo, Ivica Ico Bukvic hat gesagt: // Ivica Ico Bukvic wrote:
On Sat, 2009-10-31 at 21:43 +0800, jurgen wrote:
try [closebang] - read help file
Jurgen
Thanks for the info! However, this works when closing the entire patch but not sub-patchers. Likewise, I would need something that bangs when you open sub-patchers. I guess "restore" was the wrong terminology to use here.
Hi Ivica The [tot] object from toxy will emit a bang from its right outlet whenever a subpatch is opened. I can't recall any ways to know when a subpatch has been closed though ([active] from Cyclone will tell you about its focused state).
Best Luke
Depending on your goals, the following may be a solution: You can open
and
close not only by clicking on it, but also by sending the message "vis
0/1" to
the subpatch-receiver. Example:
[pd mysub]
[tgl] | [vis $1( | [s pd-mysub]
If you only open or close a subpatch this way, you can follow any state changes by reading from [r pd-mysub].
Ciao
Frank
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Sat, 31 Oct 2009, Ivica Ico Bukvic wrote:
I guess the title says it all.
Not to be confused with #X restore ...
Instead of a loadbang, this thing would emit a bang whenever a patcher is restored (e.g. [pd something] is closed by default, and every time it is restored, obviously after being closed it would emit a bang from this object). Is there such a thing?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801