<div dir="ltr">Thanks IOhannes!!! It close that issue!!! :)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg, 11 de mar de 2019 às 17:09, IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/11/19 8:29 PM, Federico Camara Halac wrote:<br>
> (unless you are talking about the 'first' save) it should be simply<br>
> <br>
> [menusave(<br>
> |<br>
> [s pd-mypatch.pd]<br>
> <br>
> I've never found a way of saving the patch to the current file, but if you<br>
<br>
what do you mean by "current file" (as opposed to where [menusave( saves<br>
the patch to)?<br>
<br>
>>> want to save it to a new file, you can do this:<br>
>>><br>
>><br>
> Did not how 'savetofile' worked until you mentioned it! Thanks!! I think<br>
> this should do it:<br>
> <br>
> [savetofile mypatch.pd /path/to/file(<br>
> |<br>
> [s pd-mypatch.pd]<br>
> <br>
since both you and liam use the [s pd-mypatch.pd] idiom, i'd like to<br>
point out that this might be tricky, as the [savetofile( might rename<br>
the patch... so the following will only work once:<br>
<br>
<snip><br>
[savetofile yourpatch.pd .(<br>
|<br>
[s pd-mypatch.pd]<br>
</snip><br>
<br>
a safer approach is to use [namecanvas]:<br>
<br>
<br>
<snip><br>
[savefile yourpatch.pd .(<br>
|<br>
[s $0-canvas]<br>
<br>
[namecancas $0-canvas]<br>
</snip><br>
<br>
gfmdsar<br>
IOhannes<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p></p><div><span style="color:rgb(0,0,0);background-color:transparent;font-family:"times new roman","new york",times,serif"><div><span style="font-family:arial,helvetica,sans-serif;background-color:transparent"> </span><span style="font-family:arial,helvetica,sans-serif;background-color:transparent;color:rgb(34,34,34)">Esteban Viveros</span></div><div><span style="font-family:arial,helvetica,sans-serif;background-color:transparent;color:rgb(34,34,34)"><br></span></div></span><div style="background-color:transparent"><font size="1" color="#0b5394"><font color="#0b5394"><a href="http://www.estebanviveros.com" target="_blank">www.estebanviveros.com</a></font></font></div></div><div><br></div><div><br></div><p></p></div></div></div></div>