<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[using [savepanel] to save a *.pd file instead of File &#x2F; Save]]></title><description><![CDATA[<p>Hi all,</p>
<p>Is it possible to use [savepanel] to save a  patch  .pd file (i.e canvas) instead of File / Save? I already use the [SSSAD] preset saving system provided (which works like a dream to save patch presets) shown below. At the moment I use the [savepanel] to save a txt file of the presets for my patch through SSSAD. So could I also use [savepanel] to then save a pd patch file of the same name I give to the text file for presets or vice versa?<br />
<img src="/uploads/files/1506936318343-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
<p>Thanks in advance ! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Nov 2026 09:25:16 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11008.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Oct 2017 09:28:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Mon, 02 Oct 2017 09:28:49 GMT]]></title><description><![CDATA[<p>Hi all,</p>
<p>Is it possible to use [savepanel] to save a  patch  .pd file (i.e canvas) instead of File / Save? I already use the [SSSAD] preset saving system provided (which works like a dream to save patch presets) shown below. At the moment I use the [savepanel] to save a txt file of the presets for my patch through SSSAD. So could I also use [savepanel] to then save a pd patch file of the same name I give to the text file for presets or vice versa?<br />
<img src="/uploads/files/1506936318343-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
<p>Thanks in advance ! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save</guid><dc:creator><![CDATA[casper]]></dc:creator><pubDate>Mon, 02 Oct 2017 09:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Tue, 03 Oct 2017 15:51:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/casper">@casper</a> Hello!..... you will need to send the message [savetofile $1 $2( where $1 is the patch file name and $2 is the complete path from root to the folder where you wish to save the file.<br />
That message you send to the patch you want to save so [send pd-thispatch.pd]</p>
<p>There is then another problem to solve.  You will see that the patch you are saving is now renamed to its new name, so you need to re-open your patch unless you are happy with the new name........ in which case...... no problem.</p>
<p>You could put this abstraction in your patch (if you want to preserve the file name) .........<a href="/uploads/files/1507045868590-saveme2.zip">saveme2.zip</a>  but it has to reopen your patch to achieve that, which could be a problem.<br />
David.</p>
<p><img src="/uploads/files/1507045846689-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 03 Oct 2017 15:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Wed, 04 Oct 2017 14:55:02 GMT]]></title><description><![CDATA[<p>thanks for this <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> this looks great !. I'll let you know how I go.</p>
<p><img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/3</guid><dc:creator><![CDATA[casper]]></dc:creator><pubDate>Wed, 04 Oct 2017 14:55:02 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Tue, 24 Oct 2017 19:35:07 GMT]]></title><description><![CDATA[<p>Hey <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> I've tried your patch and it works great but I would like to try and use [savepanel] to save the pd patch and file name location. So I've tried moding your patch so you can use [savepanel] instead of adding the pathing arguments to it.  <a href="/uploads/files/1508873674240-saveme_newedit.pd">saveme_newedit.pd</a>  But it doesn't seem to work with the savetofile $1.pd $2 message. I've included my patch mod and picture. Any help would be great. Thanks <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p><img src="/uploads/files/1508873630349-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/4</guid><dc:creator><![CDATA[casper]]></dc:creator><pubDate>Tue, 24 Oct 2017 19:35:07 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Tue, 24 Oct 2017 22:06:07 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/casper">@casper</a> Your problem is not the [savetofile $1.pd $2( message, but that without the argument the send object below [send pd-$1.pd] has no destination ($1 is not defined).<br />
You can send the message to a canvas by naming it........ so I have put an object [namecanvas woof] and set the message to this patch........ which is then saved.  But this is exactly the same as using the menu.... File.... Save as.<br />
<a href="/uploads/files/1508881859967-saveme_newedit.pd">saveme_newedit.pd</a><br />
So that is probably not what you want.<br />
Your abstraction should work if you give it one argument, that is the name of the patch that you want to save (without the extension).  But you will end up working in the new saved patch again, as with the patch I have posted above.</p>
<p>I assume that you want to do the same as my original patch, but choose the filename and directory.<br />
I will have to sleep on that and reply later...... time for bed here!</p>
<p>The lack of argument is easily solved by putting the [namecanvas woof] in the patch containing [saveme_newedit] but that is far from a global solution, and you still end up working in the newly saved file.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/5</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 24 Oct 2017 22:06:07 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Tue, 24 Oct 2017 22:00:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/casper">@casper</a>  i think it should be $2 in [send pd-$1.pd] and it has to be the name of the current patch to work.</p>
<p>See also this backup method from an <a href="https://forum.pdpatchrepo.info/topic/10138/autosave-options/10" rel="nofollow">older thread</a>:<br />
<img src="/uploads/files/1498703458698-screenshot-from-2017-06-29-04-19-54.png" alt="Screenshot from 2017-06-29 04:19:54.png" class="img-responsive img-markdown" /> <a href="/uploads/files/1498703472392-savethis.pd">savethis.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/6</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Tue, 24 Oct 2017 22:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Wed, 25 Oct 2017 18:23:07 GMT]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> I tried changing  $2 in [send pd-$1.pd] but it didn't  work unfortunately.</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> you're right I would like to keep your abstraction but use the [savepanel] to give the user the choice of filename and directory location. I will then include the SSSAD system to produce a text file of the same name to save patch settings etc.  Trouble is I'm stuck on how to achieve [savepanel] features in your abstraction. Since my mod still includes the: {symbol $1}  {symbol $2] both being packed into the [savetofile $1.pd $2&gt; surely [send pd-$1.pd] should see the filename value stored in {symbol $1} ??<br />
Best</p>
<p>Casper <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/7</guid><dc:creator><![CDATA[casper]]></dc:creator><pubDate>Wed, 25 Oct 2017 18:23:07 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Wed, 25 Oct 2017 19:52:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/casper">@casper</a> Sorry, I haven't had time to look at it, and it will be a few days.<br />
No, the two $1 are not the same.<br />
A $1 in a message box takes the value of the first atom in a list that drops into the message on its inlet...... and $2 the second, $3 the third etc.<br />
But the $1 in the [send .....] is in an object box..... not a message box.<br />
$1, $2 etc. in object boxes take the values of the first, second etc. arguments of their patch (usually an abstraction within a &quot;master, or &quot;mother&quot; patch).<br />
So if you put an abstraction [something 3 woof] then within that abstraction every $1 in an object will become 3, and every $2... woof.........<br />
...... but not in a message...<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/8</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 25 Oct 2017 19:52:32 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Thu, 26 Oct 2017 08:43:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> no problems at all.</p>
<p>I may have found a solution I found an object called {sendcanvas] which allows you to send up multiple levels of canvas as required. For my work my level happens to be 3. This has saved me naming my parent canvas every time with [namecanvas] now .  So it's a global workaround. I'm sure you may come up with something better but here's my patch anyway <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p><img src="/uploads/files/1509007384774-screenshot_2017-10-26_09-39-55.png" alt="Screenshot_2017-10-26_09-39-55.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/9</guid><dc:creator><![CDATA[casper]]></dc:creator><pubDate>Thu, 26 Oct 2017 08:43:49 GMT</pubDate></item><item><title><![CDATA[Reply to using [savepanel] to save a *.pd file instead of File &#x2F; Save on Thu, 26 Oct 2017 18:16:08 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/casper">@casper</a> That's great.   Somewhere in the recycling bin of my very old brain I knew that was possible!..... but I couldn't remember how.....<br />
It's better when you get the solution on your own though.  You will not forget...... <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/smiling_imp.png" title="smiling_imp" alt=":smiling_imp:" /><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11008/using-savepanel-to-save-a-pd-file-instead-of-file-save/10</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 26 Oct 2017 18:16:08 GMT</pubDate></item></channel></rss>