Hi
I have an abstraction that has loaded a sample with openpanel. Is there a way to display this filename in the abstraction (for visual fedback), preferrably only the filename (without path)?
Any pointers appreciated!
Hi
A combination of [symbol\ and [stripdir] should do it
S
On 6 Aug 2008, at 12:31, Atte André Jensen wrote:
Hi
I have an abstraction that has loaded a sample with openpanel. Is
there a way to display this filename in the abstraction (for visual
fedback), preferrably only the filename (without path)?Any pointers appreciated!
-- peace, love & harmony Atte
http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Si Mills wrote:
Hi
A combination of [symbol\ and [stripdir] should do it
Arrh, thanks! I never used the [symbol\ before.
It works just perfect, thanks.
Atte André Jensen wrote:
Hi
I have an abstraction that has loaded a sample with openpanel. Is there a way to display this filename in the abstraction (for visual fedback),
symbolatom (ugly truncation if fixed size, no way to turn off editability), label of a canvas (ugly overflow if name too long, probably causes breakage with weird characters like " %,", but can be prettier), etc
preferrably only the filename (without path)?
symbol2list and list split (possibly use list-abs version if pd's doesn't accept negative indices to work from the other end)
Claude