[Pd] Filenames

simon wise simonxwise at hotmail.com
Tue Nov 21 12:06:42 CET 2006


On 21 Nov 2006, at 11:41 AM, Chuckk Hubbard wrote:

> 2 problems:
> a) any numbers in the file path are replaced with the text "float",
> b) it would be nice for it to know whether ".ji" was already on the
> end, because if someone types a name for save-as and doesn't put .ji
> on the end, it lops off the last three characters as though they were
> ".ji".

[split_path]
  |         |
  |         [splitfilename .]
  |          |
  |          the filename without the extension
  |
  the path as a symbol

  should help decode the output of [savepanel] and avoid the 'floats'

both are in Pd-0.39 extended


simon






More information about the Pd-list mailing list