[PD] Is there an object like [opendirectory]?

Mathieu Bouchard matju at artengine.ca
Thu Jul 21 16:51:51 CEST 2011


On Thu, 21 Jul 2011, IOhannes m zmoelnig wrote:

> [openpanel] has not method for 'location', but it has a method for
> 'symbol' which sets the directory to start.
> e.g.
> [symbol /tmp(
> |
> [openpanel]
>
> will always open in "/tmp/" (if that exists)

But [openpanel] is not made for selecting a folder, it is made for 
selecting files (non-folder files).

That's the difference between tk_getOpenFile and tk_chooseDirectory.

grep -r tk_chooseDirectory pd-svn

matches (2 in total) :
   Benjamin Bogart's abstractions/pixelTANGO/abstractions/dirpanel.pd
   Thomas-O. Fredericks' externals/tof/src/folderpanel.c

looks like a Montréal-only feature ! ;)

  _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC


More information about the Pd-list mailing list