<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div>In the most recent versions of Pd-extended, you can use "~" on all platforms for any path (I think, report a bug if not).  "~hans", "~username", etc. doesn't work tho.</div><div><br></div><div>On Windows, you can use envvars like %UserProfile%, so like [symbol %UserProfile%/Desktop(.  I would be nice to have this on UNIX platforms, but I haven't found a function to do the conversion, like Windows has.</div><div><br></div><div>.hc</div><br><div><div>On May 30, 2008, at 3:58 AM, Rich E wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">When I first posted about this, it was about the recently new ability to do this:<br><br>[symbol somedir(<br>|<br>[openpanel]<br><br>But this only works if "somedir" is at "$HOME/somedir" on linux and "/usr/blahblah/pdir/somedir" on mac.  So if my directly layout is something like "~/patches/somedir", I have to explicitly write in the message to [openpanel] "/home/myname/patches/somedir".  This will only work on my directly layout, so if it is a patch I'm going to share, I cannot use this new feature (might I add I really like the feature).   <br> <br>I was only suggesting that [openpanel]/[savepanel]'s symbol argument has the patch's current directory appended to it, unless the "~" sign is used for home, or a full path is given.  I think, as Martin suggested, this is all handled internally with canvas_getdir() and open_via_path().<br> <br>Regarding the normal operation of [openpanel]/[savepanel], i.e. sending it a bang, I think it would be nice if the last directory navigated to is remembered, else the $HOME.  <br> <br>-rich<br><br><div class="gmail_quote"> On Thu, May 29, 2008 at 2:26 PM, Frank Barknecht &lt;<a href="mailto:fbar@footils.org">fbar@footils.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hallo,<br> <div class="Ih2E3d">Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:<br> <br> > The problem here is that most people do not start Pd from the command<br> > line.  With Pd-extended, it is now included in the standard free<br> > desktop menus (only tested on GNOME, should work on KDE), so I'll bet<br> > most people use that rather than the command line (I do on Ubuntu).<br> <br> </div>The HOME directory already is the default directory on Linux with<br> Gnome/KDE/Blackbox or whatever, as it's the working directory when<br> starting Pd from the manager. No need for any changes AFAIK.<br> <br> I'm the wrong person to comment on MS-Windows or Mac, as I don't use<br> these and don't care even the teeny-tiniest bit about what happens to<br> Pd on these systems, but please leave it on Linux as it is the<br> standard here. All other apps like Vim, Emacs, Gimp, Firefox use the<br> `pwd` as default and I can't see why Pd should behave differently.<br> <br> If you want to confirm this yourself, try the following with the gimp:<br> <br> $ cd /tmp<br> $ gimp &amp;<br> <br> Then make a new file, select "Save" and it will give you "/tmp" as<br> first directory choice.<br> <div><div></div><div class="Wj3C7c"><br> Ciao<br> --<br>  Frank Barknecht                                     _ ______footils.org__<br> <br> _______________________________________________<br> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br> </div></div></blockquote></div><br><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; "><br class="Apple-interchange-newline"><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; "><div><br style="font-family: Tahoma; "></div><div>----------------------------------------------------------------------------</div><div><br style="font-family: Tahoma; "></div><div>There is no way to peace, peace is the way.       -A.J. Muste</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>