<div dir="ltr">interesting....<div><br></div><div>does "foo-plugin.tcl" end up at pd folder root? i thought it sticks it in a folder "~/Library/Pd/foo-plugin/foo-plugin.tcl" where in this case Pd would not find off the bat eh?</div><div><br></div><div>so really anything can be distributed via deken hence the "security" discussion a couple weeks back.</div><div><br></div><div>so in dutch deken stands for.... blanket?</div><div><br></div><div>:)</div><div>m</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 12:11 PM, Jonathan Wilkes <span dir="ltr"><<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><span>Can you distribute GUI plugins over Deken?</span></div><span class="HOEnZb"><font color="#888888"><div><br><span></span></div><div><span>-Jonathan</span></div></font></span><div><div class="h5">  <br><div><br><br></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, November 2, 2015 10:56 AM, me.grimm <<a href="mailto:megrimm@gmail.com" target="_blank">megrimm@gmail.com</a>> wrote:<br> </font> </div>  <br><br> <div><div><div><div dir="ltr">ok got it... thanks for info!<div><br clear="none"></div><div>yeah i was also thinking something like this might be useful for abbreviations for example [mfn] creates [makefilename]</div><div><br clear="none"></div><div>so looking here: <a rel="nofollow" shape="rect" href="https://puredata.info/docs/guiplugins/GUIPlugins" target="_blank">https://puredata.info/docs/guiplugins/GUIPlugins</a></div><div><br clear="none"></div><div>what would be the use of say "set sys_searchpath {}" or "set startup_flags {}" which should be library level loading not GUI according to your logic no? but then again it would load paths prior to user patching which seems to make sense. Or might there be a difference between substitutions in real-time while patching and initializing a path when a gui-plugin loads....</div><div><br clear="none"></div><div>i am aware i am rambling at this point because i am just trying to understand a little more of what IS possible with a gui-plug, what is not possible, or what IS possible but is unnecessary.</div><div><br clear="none"></div><div>a real world case scenario is class room situation (i am dealing with it this semester) where at one point in the past I just made students install pdx and we were all on the same page. it becomes difficult to troubleshoot when each student has something slightly different going on. so my idea was to have some kind of master gui-plug + class lib they  just drop in ~/Library/Pd and we all Rock & Roll to the same beat...</div><div><br clear="none"></div><div>i believe deken (can we all agree this is awesome!) solves a number of probs of this sort in the wake of pdx demise BUT it is only for libs NOT for other standardizations that might make it easier to teach.... but then again maybe object abbreviations or substitutions would just make more complications.</div><div><br clear="none"></div><div>cheers</div><div>m</div></div><div><br clear="none"><div><div>On Sun, Nov 1, 2015 at 10:19 PM, Jonathan Wilkes <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>></span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div>I think it makes more sense to do those substitutions on the level of the library <br clear="none"></div><div dir="ltr">loading mechanism than in the GUI.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">In your example, what I would want is to put an abstraction called [repeat] <br clear="none"></div><div dir="ltr">in the same directory as my patch.  Inside my [repeat] abstraction I'd have <br clear="none"></div><div dir="ltr">a [num.repeat].  Then when I load the patch I would want Pd to load my <br clear="none"></div><div dir="ltr">abstraction instead of loading any external by the same name.  That's a <br clear="none"></div><div dir="ltr">much easier process because it doesn't require any changes to the original <br clear="none"></div><div dir="ltr">patch.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Pd doesn't work that way currently, but IIUC it would work this way using <br clear="none"></div><div dir="ltr">IOhannes' recent revisions to the loader mechanism.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">For more complex cases maybe a massive search/replace is necessary, but <br clear="none"></div><div dir="ltr">I'd still prefer your sed/awk approach to massive search/replace in a running <br clear="none"></div><div dir="ltr">patch.  It's just way safer to substitute "foo" for "bar" when you know there <br clear="none"></div><div dir="ltr">aren't side effects like memory allocation of associated objects, <br clear="none"></div><div dir="ltr">binding-symbols, class search, socket traffic, GUI redrawing, maybe even <br clear="none"></div><div dir="ltr">forgetting that audio was running the whole time, etc.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">-Jonathan<br clear="none"> </div><div dir="ltr"><br clear="none"></div><div><span></span></div>  <br clear="none"><div><br clear="none"><br clear="none"></div><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, November 1, 2015 5:10 PM, me.grimm <<a rel="nofollow" shape="rect" href="mailto:megrimm@gmail.com" target="_blank">megrimm@gmail.com</a>> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> </div></div><div><div><div><div><div dir="ltr">Hello,<div><br clear="none"></div><div>say i have [repeat] in older patches but now i want to substitute this, for example, for my own [num.repeat] vanilla abstraction without changing original patch. can this be done with gui-plugin?</div><div><br clear="none"></div><div>i am noticing since moving from pdx that its quite a pain to replace once relied upon pdx objects with others that have same functions even with perl/sed scripts in tips_and_tricks.</div><div><br clear="none"></div><div>if ability to substitute directly with plugin then custom user libs could draw from only needed objects from pdx based patches i was thinking....</div><div><br clear="none"></div><div>cheers</div><div>m</div></div></div><br clear="none"></div></div>_______________________________________________<br clear="none"><a rel="nofollow" shape="rect" href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a rel="nofollow" shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></blockquote></div></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div><div dir="ltr"><div>____________________<br clear="none">m.e.grimm, m.f.a, ed.m.</div><div>syracuse u., tc3</div><div><a rel="nofollow" shape="rect" href="http://megrimm.net/" target="_blank">megrimm.net</a><br clear="none">____________________</div></div></div>
</div></div></div><br><br></div>  </div> </div>  </div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>____________________<br>m.e.grimm, m.f.a, ed.m.</div><div>syracuse u., tc3</div><div><a href="http://megrimm.net" target="_blank">megrimm.net</a><br>____________________</div></div></div>
</div>