[PD] paths with spaces

carmen ix at replic.net
Wed May 3 06:54:39 CEST 2006


On Tue May 02, 2006 at 10:41:33 -0400, Alexandre Matheson wrote:
> hello
> 
> I want to send a message with a path to a file and one of the folders has a space in its name. How do I make it so that the message isn't 
> broken into two?

get the filename programatically, eg via scrollist/playlist external, miXed/folderglider, readdir: as long as its in memory, the space is fine (as soon as the message is reinterpreted, it wil end up as a list with N elements where N is the number of spaces + 1.). putting a \ before the space should help it retain the space, but im pretty sure you can't type this character so you could try editing the patch with a text editor. 

sorry if this advice is obsolete, but i doubt anything has changed since i switched to a platform that can't run PD 2 years ago... :D

> 
> alex
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list