<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Yes, I use that technique sometimes when developing abstractions.&nbsp; I just wanted to know </DIV>
<DIV>if it was possible to give arguments to a file when you open it from pd.&nbsp; The place I could </DIV>
<DIV>see this being useful is in conjunction with pddplink-- for example, to open a patch named </DIV>
<DIV>"glossary" with an argument that is the name of the term you want to look up.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Jonathan<BR><BR>--- On <B>Thu, 7/22/10, Andrew Faraday <I>&lt;jbturgid@hotmail.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Andrew Faraday &lt;jbturgid@hotmail.com&gt;<BR>Subject: RE: [PD] Args for a patch<BR>To: matju@artengine.ca, jancsika@yahoo.com<BR>Cc: pd-list@iem.at<BR>Date: Thursday, July 22, 2010, 12:23 AM<BR><BR>
<DIV id=yiv736625936>
<STYLE><!--
#yiv736625936 .hmmessage P
{
margin:0px;padding:0px;}
#yiv736625936 .hmmessage
{
font-size:10pt;font-family:Verdana;}
--></STYLE>
Basically yes, sort of. matju's got it on the money. If you use $1, $2 etc. to mark the position of your arguments within a patch, save it, then save an empty patch in the same location (or else put the location of your first patch in your paths) then you can make an object with the name of your patch, which operates as an abstraction, essentially an object containing your patch. Which will take a list of arguments, the first of which will effectively replace $1 within it, the second, $2 and so on.&nbsp;
<DIV><BR></DIV>
<DIV>So, yes, but you have to open the patch from within PD.&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>Hope that's helpful for you.&nbsp;<BR><BR>&gt; Date: Wed, 21 Jul 2010 18:11:16 -0400<BR>&gt; From: matju@artengine.ca<BR>&gt; To: jancsika@yahoo.com<BR>&gt; CC: pd-list@iem.at<BR>&gt; Subject: Re: [PD] Args for a patch<BR>&gt; <BR>&gt; On Wed, 21 Jul 2010, Jonathan Wilkes wrote:<BR>&gt; <BR>&gt; &gt; Hi list,<BR>&gt; &gt; Is it possible to specify arguments for a pd-file when you open it?<BR>&gt; <BR>&gt; no.<BR>&gt; <BR>&gt; or: just if you instantiate it as an abstraction.<BR>&gt; <BR>&gt; _ _ __ ___ _____ ________ _____________ _____________________ ...<BR>&gt; | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801<BR></DIV><BR>
<HR>
Get a new e-mail account with Hotmail - Free. <A href="http://clk.atdmt.com/UKM/go/197222280/direct/01/" rel=nofollow target=_blank>Sign-up now.</A> </DIV></BLOCKQUOTE></td></tr></table><br>