I do not know if I should post here or on the main list. <br><br>Anyways, I made a new external called folderpanel (I know it is possible to reproduce this with tot, by that solution proved buggy with cyclone and Gem or something, I don&#39;t remember the details...) that lets you select a directory.
<br><br>It is based on parts of cyclone and pd&#39;s savepanel.<br>It did not work before, but then I added a space&nbsp; or a \\; in in the tk code somewhere and it works now.<br><br>I do not know much c, so please bear with me. Here are a few questions:
<br><br>- how do I guarantee that the tk code, lines 78 to 83, only run once? <br>- what does pd_bind do?<br clear="all">- do you see any other weirdness in my code ( I know there are useless pieces of code, like all references to s and s-&gt;s_name) ?
<br><br>what I would like to add:<br><br>- starts browsing in the path received. how would you implement this? I have seen <a href="http://www.tcl.tk/man/tcl8.3/TkCmd/chooseDirectory.htm">http://www.tcl.tk/man/tcl8.3/TkCmd/chooseDirectory.htm
</a> but I am unsure of the implementation with pd.<br><br>Source code, help file and i386 linux binary attached (to compile: make pd_linux)<br><br>Thanks<br><br>-- <br>thomas ouellet fredericks, <a href="mailto:tof@danslchamp.org">
tof@danslchamp.org</a>, montreal, canada