aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/additional/pd-msg/2.msg_and_pd/2.open_close.pd32
-rw-r--r--doc/pddp/pddp_open.pd20
2 files changed, 27 insertions, 25 deletions
diff --git a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd
index a6e10d05..55b803f9 100755
--- a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd
+++ b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd
@@ -1,4 +1,4 @@
-#N canvas 368 98 521 539 10;
+#N canvas 368 98 525 543 10;
#X text 10 4 open and close an abstraction;
#X text 22 231 (you have to put a corect name & valid path);
#X msg 25 195 \; pd-abstraction.pd menuclose \;;
@@ -7,8 +7,7 @@ to work \, but usually not. I don't know why...;
#X msg 226 435 \; pd open \$1 \$2;
#X text 57 480 you have to put the name of the patch to open ($1) and
complete path to it ($2);
-#X obj 226 374 pack s s;
-#X obj 276 354 pwd;
+#X obj 276 367 getdir;
#X msg 25 63 \; pd open abstraction.pd /usr/local/lib/pd/doc/7.stuff/additional/pd-msg/2.msg_and_pd
;
#X text 25 41 OPEN;
@@ -22,15 +21,18 @@ path to it;
#X obj 99 334 trigger bang anything bang;
#X obj 114 368 symbol;
#X obj 51 359 del 2000;
-#X text 27 278 OPEN THEN CLOSE;
-#X connect 6 0 4 0;
-#X connect 7 0 6 1;
-#X connect 12 0 13 0;
-#X connect 14 0 12 0;
-#X connect 15 0 16 0;
-#X connect 16 0 18 0;
-#X connect 16 1 6 0;
-#X connect 16 1 17 1;
-#X connect 16 2 7 0;
-#X connect 17 0 14 1;
-#X connect 18 0 14 0;
+#X obj 226 387 pack s s;
+#X obj 226 368 symbol;
+#X text 27 278 OPEN \, THEN CLOSE AFTER 2 SECONDS;
+#X connect 6 0 18 1;
+#X connect 11 0 12 0;
+#X connect 13 0 11 0;
+#X connect 14 0 15 0;
+#X connect 15 0 17 0;
+#X connect 15 1 16 0;
+#X connect 15 1 19 0;
+#X connect 15 2 6 0;
+#X connect 16 0 13 1;
+#X connect 17 0 13 0;
+#X connect 18 0 4 0;
+#X connect 19 0 18 0;
diff --git a/doc/pddp/pddp_open.pd b/doc/pddp/pddp_open.pd
index e9c9f130..5803e4dc 100644
--- a/doc/pddp/pddp_open.pd
+++ b/doc/pddp/pddp_open.pd
@@ -1,6 +1,5 @@
-#N canvas 177 350 518 386 10;
+#N canvas 177 350 522 390 10;
#X obj 110 4 inlet;
-#X obj 140 168 pwd;
#X msg 89 227 \; pd open \$1.pd \$2;
#X obj 89 194 pack s s;
#X obj 89 139 symbol;
@@ -16,14 +15,15 @@
it;
#X text 26 282 This patch opens a patch either from the first argument
or sent in as a message.;
-#X connect 0 0 5 0;
-#X connect 0 0 8 0;
-#X connect 1 0 3 1;
+#X obj 140 168 getdir;
+#X connect 0 0 4 0;
+#X connect 0 0 7 0;
+#X connect 2 0 1 0;
#X connect 3 0 2 0;
#X connect 4 0 3 0;
-#X connect 5 0 4 0;
-#X connect 5 1 1 0;
-#X connect 6 0 7 0;
-#X connect 7 0 5 0;
-#X connect 8 0 7 1;
+#X connect 4 1 12 0;
+#X connect 5 0 6 0;
+#X connect 6 0 4 0;
+#X connect 7 0 6 1;
+#X connect 12 0 2 1;
#X coords 0 0 1 1 20 18 1;