[PD] Save patch with internal message

Esteban Viveros emviveros at gmail.com
Wed Mar 13 09:32:33 CET 2019


Thanks IOhannes!!! It close that issue!!! :)

Em seg, 11 de mar de 2019 às 17:09, IOhannes m zmölnig <zmoelnig at iem.at>
escreveu:

> On 3/11/19 8:29 PM, Federico Camara Halac wrote:
> > (unless you are talking about the 'first' save) it should be simply
> >
> > [menusave(
> > |
> > [s pd-mypatch.pd]
> >
> > I've never found a way of saving the patch to the current file, but if
> you
>
> what do you mean by "current file" (as opposed to where [menusave( saves
> the patch to)?
>
> >>> want to save it to a new file, you can do this:
> >>>
> >>
> > Did not how 'savetofile' worked until you mentioned it! Thanks!! I think
> > this should do it:
> >
> > [savetofile mypatch.pd /path/to/file(
> > |
> > [s pd-mypatch.pd]
> >
> since both you and liam use the [s pd-mypatch.pd] idiom, i'd like to
> point out that this might be tricky, as the [savetofile( might rename
> the patch... so the following will only work once:
>
> <snip>
> [savetofile yourpatch.pd .(
> |
> [s pd-mypatch.pd]
> </snip>
>
> a safer approach is to use [namecanvas]:
>
>
> <snip>
> [savefile yourpatch.pd .(
> |
> [s $0-canvas]
>
> [namecancas $0-canvas]
> </snip>
>
> gfmdsar
> IOhannes
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 

 Esteban Viveros

www.estebanviveros.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190313/549830cb/attachment.html>


More information about the Pd-list mailing list