aboutsummaryrefslogtreecommitdiff
path: root/abstractions/dirlist.pd
diff options
context:
space:
mode:
authorB. Bogart <bbogart@users.sourceforge.net>2005-11-26 22:21:07 +0000
committerB. Bogart <bbogart@users.sourceforge.net>2005-11-26 22:21:07 +0000
commit33789244c6dbe3611607e77fa98f0f0c72f354ee (patch)
treec1c0c3d40f010b7be1e3bc223cecdaaf2e0bd74b /abstractions/dirlist.pd
Initial Commit of pixelTANGO 0.3.4svn2git-root
svn path=/trunk/abstractions/pixelTANGO/; revision=4049
Diffstat (limited to 'abstractions/dirlist.pd')
-rw-r--r--abstractions/dirlist.pd36
1 files changed, 36 insertions, 0 deletions
diff --git a/abstractions/dirlist.pd b/abstractions/dirlist.pd
new file mode 100644
index 0000000..45946df
--- /dev/null
+++ b/abstractions/dirlist.pd
@@ -0,0 +1,36 @@
+#N canvas 133 243 538 370 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;
+#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 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;