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

IOhannes m zmoelnig zmoelnig at iem.at
Thu Jul 21 16:18:40 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-07-21 16:01, Antonio Roberts wrote:
> I'm using the [playlist] object and I want to be able to load a
> directory by using the filebrowser dialogue. Usually you would do this
> by sending [location /path/to/directory ( to [playlist] but I want to
> do it dynamically. Does an object like [opedirectory] exist? I've
> tried sending [openpanel] to [location $1 ( but it expects a filename
> 

[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)

fgasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4oNT0ACgkQkX2Xpv6ydvTwbgCgxpGkO/u1aXuXYYebgkn6Opm8
QkAAn0G21G7D7rnmmEjlbH3SJtceTAt3
=5VeS
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110721/c0eb099d/attachment.bin>


More information about the Pd-list mailing list