Not sure if it's what you want but the attached patch will list all the objects 
in a patch.

Martin

kim wrote:
> is there a way to get a list of all the externals used in a patch?
> other than by hand of course...
> I see nothing in pd --help

                                          
#N canvas 625 239 616 367 10;
#X obj 51 16 openpanel;
#X obj 51 42 t b b a;
#X msg 51 72 1000;
#X obj 51 102 until;
#X msg 90 70 read \$1;
#X msg 70 145 rewind;
#X obj 51 -18 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 90 182 msgfile;
#X msg 51 126 find #X obj;
#X obj 90 215 list split 4;
#X obj 124 243 list split 1;
#X obj 243 85 route bang;
#X obj 300 128 + 1;
#X msg 300 165 goto \$1;
#X text 74 -21 choose a Pd patch;
#X obj 124 272 print object;
#X text 51 -47 list_objects will print all the objects in a patch;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 1 5 0;
#X connect 1 2 4 0;
#X connect 2 0 3 0;
#X connect 3 0 8 0;
#X connect 4 0 7 0;
#X connect 5 0 7 0;
#X connect 6 0 0 0;
#X connect 7 0 9 0;
#X connect 7 1 11 0;
#X connect 8 0 7 0;
#X connect 9 1 10 0;
#X connect 10 0 15 0;
#X connect 11 0 3 1;
#X connect 11 1 12 0;
#X connect 12 0 13 0;
#X connect 13 0 7 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to