This is one method with [shell].
Should work on Linux and MacOSX.
++

Jack



Le dimanche 17 janvier 2010 à 18:37 +0100, David Schaffer a écrit :
> Hi there, 
>  
>     I'd like to know if there's any way that Pd can tell me how many
> files there is in a folder.
>  
> Thank you
>  
> D.S
>  
> http://www.flickr.com/photos/schafferdavid/
> http://audioblog.arteradio.com/David_Schaffer/
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

#N canvas 0 0 450 300 10;
#X obj 173 123 shell;
#X floatatom 158 223 5 0 0 0 - - -;
#X obj 173 167 f;
#X obj 173 94 t a b;
#X obj 203 167 + 1;
#X msg 215 123 1;
#X msg 173 145 bang;
#X msg 273 145 bang;
#X obj 158 196 f;
#X msg 173 63 ls /home/jack;
#X connect 0 0 6 0;
#X connect 0 1 7 0;
#X connect 2 0 4 0;
#X connect 2 0 8 1;
#X connect 3 0 0 0;
#X connect 3 1 5 0;
#X connect 4 0 2 1;
#X connect 5 0 2 1;
#X connect 6 0 2 0;
#X connect 7 0 8 0;
#X connect 8 0 1 0;
#X connect 9 0 3 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to