Is there a way to get a random file of a certain type (like .mov) from a specific directory using your objects?<br><br>cgc<br><br><div><span class="gmail_quote">On 6/14/06, <b class="gmail_sendername">Hans-Christoph Steiner
</b> &lt;<a href="mailto:hans@eds.org">hans@eds.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><a href="http://at.or.at/hans/pd/objects.html">
http://at.or.at/hans/pd/objects.html</a><br><br>Another libc port: stat. It lets you get all sorts of data from a<br>file. Quite handy for a number of things, like testing what kind of<br>file something is, or get the time of the last access, status change,
<br>or modification. Should work on all platforms.<br><br>Also included is [file_type] object which is written in Pd and uses<br>[stat].&nbsp;&nbsp;It tells you what kind of file something is (file, folder,<br>character, block, fifo, etc).
<br><br>Of course, it'll be in the next Pd-extended test release.<br><br>.hc<br><br>------------------------------------------------------------------------<br><br>Computer science is no more related to the computer than astronomy is
<br>related to the telescope.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Edsger Dykstra<br><br><br><br>_______________________________________________<br>PD-announce mailing list<br><a href="mailto:PD-announce@iem.at">PD-announce@iem.at</a><br><a href="http://lists.puredata.info/listinfo/pd-announce">
http://lists.puredata.info/listinfo/pd-announce</a><br><br>_______________________________________________<br><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">
http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br>