diff options
-rw-r--r-- | abstractions/dirlist.pd | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/abstractions/dirlist.pd b/abstractions/dirlist.pd index 45946df..d3fa366 100644 --- a/abstractions/dirlist.pd +++ b/abstractions/dirlist.pd @@ -1,16 +1,8 @@ -#N canvas 133 243 538 370 10; +#N canvas 133 243 542 374 10; #X obj 20 61 inlet; #X obj 20 234 outlet; #X obj 215 84 loadbang; #X text 129 200 \$1 is pattern \$2 is dir; -#N canvas 0 22 462 312 pwd 0; -#X text 18 27 This is where used to be.; -#X obj 35 92 inlet; -#X obj 41 184 outlet; -#X obj 48 153 symbol /; -#X connect 1 0 3 0; -#X connect 3 0 2 0; -#X restore 215 123 pd pwd; #X text 15 284 ONLY sends absolute pathnames \, otherwise hard to add before load!; #X msg 54 175 \$1 \$2; @@ -22,15 +14,16 @@ before load!; #X text 20 17 Lists the files in a set with 'set-dir' selector. Sends the files matching 'pattern' selector as a list. Requires PWD to provide a reasonable default location.; -#X connect 0 0 8 0; -#X connect 2 0 4 0; -#X connect 4 0 9 1; -#X connect 6 0 7 1; -#X connect 7 0 1 0; -#X connect 8 0 11 0; -#X connect 8 1 10 0; -#X connect 8 2 10 0; -#X connect 8 2 11 0; -#X connect 9 0 6 0; -#X connect 10 0 9 1; -#X connect 11 0 9 0; +#X obj 215 123 getdir; +#X connect 0 0 7 0; +#X connect 2 0 12 0; +#X connect 5 0 6 1; +#X connect 6 0 1 0; +#X connect 7 0 10 0; +#X connect 7 1 9 0; +#X connect 7 2 9 0; +#X connect 7 2 10 0; +#X connect 8 0 5 0; +#X connect 9 0 8 1; +#X connect 10 0 8 0; +#X connect 12 0 8 1; |