<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div>You should be able to set that variable in pd.tk and have it work without modifying the other file.  Try just adding</div><div><span class="Apple-style-span" style="color: rgb(0, 99, 18); "><span class="Apple-style-span" style="color: rgb(0, 99, 18); "><pre><font color="#000000">set ::tk::dialog::file::showHiddenBtn 1</font>
<font color="#000000">set ::tk::dialog::file::showHiddenVar 0</font>
</pre></span><pre><span class="Apple-style-span" style="color: rgb(0, 0, 0); ">Somewhere near the top of the pd.tk.</span></pre><pre><span class="Apple-style-span" style="color: rgb(0, 0, 0); ">.hc</span></pre></span></div><br><div><html>On Apr 2, 2008, at 2:17 PM, danomatika wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"> IOhannes, you found the magic bullet (or forum post, that is)!<br> <br> Awesome, I can confirm this works in a little test script and screenshot.  It's a button to toggle<br> hidden file display as expected.<br> <br> On Wed, 2008-04-02 at 10:55 +0200, IOhannes m zmoelnig wrote: <blockquote type="CITE"> <pre><font color="#000000">Hans-Christoph Steiner wrote:</font>
<font color="#000000">> This would be huge, it would greatly help the newbies.  In workshops,  </font>
<font color="#000000">> a lot of people had trouble with those open/save panels.</font>
<font color="#000000">> </font>
<font color="#000000">> There are quite a few apps written with Tcl/Tk for GNU/Linux, so I am  </font>
<font color="#000000">> sure we are not the first to want this feature.  I would be very  </font>
<font color="#000000">> surprised if another Tcl/Tk app hasn't solved this already.</font>

<font color="#000000">according to <a href="http://www.groupsrv.com/computers/about266840.html">http://www.groupsrv.com/computers/about266840.html</a> it is </font>
<font color="#000000">acutally already built into tk-8.4 but not exposed!</font>

<font color="#000000">quoting this article:</font>
<font color="#000000"> ></font>
<font color="#000000"> > If you have Tcl/Tk 8.4.12, find the file "tkfbox.tcl" in your Tk</font>
<font color="#000000"> > installation. At line 777, you will see:</font>
<font color="#000000"> ></font>
<font color="#000000"> > set ::tk::dialog::file::showHiddenBtn 0</font>
<font color="#000000"> > set ::tk::dialog::file::showHiddenVar 1</font>
<font color="#000000"> ></font>
<font color="#000000"> > Replace them by:</font>
<font color="#000000"> ></font>
<font color="#000000"> > set ::tk::dialog::file::showHiddenBtn 1</font>
<font color="#000000"> > set ::tk::dialog::file::showHiddenVar 0</font>
<font color="#000000"> ></font>
<font color="#000000"> > And you're done...</font>

<font color="#000000">mfgasd.r</font>
<font color="#000000">IOhannes</font>


</pre> </blockquote> <table cellspacing="0" cellpadding="0" width="100%"> <tbody><tr> <td> <pre>-- 
Dan Wilcox
robotcowboy.com
</pre> </td> </tr> </tbody></table> <span>&lt;tk_file_dialog.png></span><span>&lt;tk_file_dialog_test.tcl></span><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"></span><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br class="khtml-block-placeholder"></div><div>"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White</div><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></body></html>