Re: [PD] displaying a filename
Here's an old patch of mine that does this (as far as I remember! I'm not at home so I don't have Pd working to check). Hope it helps. David http://www.flickr.com/photos/schafferdavid/ http://audioblog.arteradio.com/David_Schaffer/ Date: Wed, 6 Aug 2008 13:31:24 +0200 From: [EMAIL PROTECTED] To: pd-list@iem.at Subject: [PD] displaying a filename 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 _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx lecteur1.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] displaying a filename
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
Re: [PD] displaying a filename
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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] displaying a filename
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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] displaying a filename
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. -- 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