aboutsummaryrefslogtreecommitdiff
path: root/abstractions/dirlist.pd
blob: d3fa366a55519ade8eedffe8ae03bbe2c60f7ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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;
#X text 15 284 ONLY sends absolute pathnames \, otherwise hard to add
before load!;
#X msg 54 175 \$1 \$2;
#X obj 20 210 py pt dirlist;
#X obj 20 84 route pattern set-dir bang;
#X obj 54 154 pack s s;
#X obj 125 122 symbol \$2;
#X obj 54 122 symbol \$1;
#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 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;