#N canvas 613 87 776 518 12;
#X obj 153 18 pdcontrol;
#X text 532 472 updated for Pd version 0.50.;
#X obj 42 277 pdcontrol;
#X obj 42 334 print;
#X msg 50 152 isvisible;
#X msg 49 424 isvisible;
#N canvas 564 534 287 200 subpatch 0;
#X obj 39 39 inlet;
#X obj 39 91 pdcontrol;
#X obj 39 128 print;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 49 449 pd subpatch;
#X text 136 423 open and shut the subpatch to test "isvisible" message
;
#X text 131 150 1 if this patch is visible \, 0 if not;
#X msg 58 178 dir;
#X text 101 178 get directory this patch is in;
#X msg 64 218 dir 0 ../3.audio-examples/A00.intro.pd, f 32;
#N canvas 689 91 541 437 args 0;
#X obj 103 254 print;
#X text 161 141 <= get arguments;
#X obj 103 175 pdcontrol-abs foo 100 \$0-x \\\$0 \$1 \$2-x;
#X msg 103 141 args 0;
#X text 40 23 This is useful for managing a variable number of arguments.
When it receives the 'args' message \, [pdcontrol] outputs the loaded
arguments. An optional argument specifies this patch (0) \, owning
patch (1) \, its own owner (2) \, and so on. (Ownership number is silently
reduced if owners don't exist \, so here anything greater than zero
is ignored.), f 65;
#X text 48 295 Above there's a simple abstraction to show how it works.
Note how dollar signs (such as "\$0" \, "\$1" or "\$2-x") get expanded
unless you escape them with a backlash ("\$2-x" may appear as an unexpanded
symbol \, but it actually gets expanded if this abstraction is called
inside another that contains arguments).;
#X listbox 103 211 40 0 0 0 - - - 0;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 6 0 0 0;
#X restore 45 376 pd args;
#X text 108 376 get the patch's arguments;
#X text 244 121 open a URL in a browser;
#X msg 42 122 browse http://msp.ucsd.edu;
#X text 307 204 Optional argument to specify this patch (0) \, owning
patch (1) \, its own owner (2) \, and so on \, and optionally also
a filename relative to the patch's directory. (Ownership number is
silently reduced if owners don't exist \, so here anything greater
than zero is ignored.), f 62;
#X text 80 60 pdcontrol lets you communicate with the patch to get
its owning directory \, arguments \, its visible/invisible state \,
or to open a URL in a web browser., f 75;
#X text 232 18 - communicate with pd and/or this patch;
#X listbox 42 305 80 0 0 0 - - - 0;
#X connect 2 0 19 0;
#X connect 4 0 2 0;
#X connect 5 0 6 0;
#X connect 9 0 2 0;
#X connect 11 0 2 0;
#X connect 15 0 2 0;
#X connect 19 0 3 0;
