<div dir="ltr">If anyone is interested,<br><br>I&#39;ve written an external for assembling text-strings, which also allows for single-character backspace and a preview of the string being assembled. <br><br>The source code is on my website:<br>
<br><a href="http://www.uwm.edu/%7Egssurges/">http://www.uwm.edu/~gssurges/</a><br><br>Hope it&#39;s useful to someone else,<br><br>- Greg<br><br>------------------------------<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Message: 2<br>
Date: Wed, 13 Aug 2008 15:37:13 +0200<br>
From: Jack &lt;<a href="mailto:jack@rybn.org">jack@rybn.org</a>&gt;<br>
Subject: Re: [PD] Keyname Object Changed?<br>
To: &quot;Mike McGonagle&quot; &lt;<a href="mailto:mjmogo@gmail.com">mjmogo@gmail.com</a>&gt;<br>
Cc: PD-List data &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
Message-ID: &lt;<a href="mailto:AF3B3BDB-8BE8-4B64-9A7A-F7C09F3AB490@rybn.org">AF3B3BDB-8BE8-4B64-9A7A-F7C09F3AB490@rybn.org</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hola Mike,<br>
<br>
In fact, Greg wanted a method to make something like &#39;hello world&#39;<br>
and not &#39;helloSpaceworld&#39; working in purePd style (I use the purePd<br>
[list-l2s] abs from &#39;list-abs&#39; that i forget to join). So i just make<br>
a small patch to transform the &#39;Space&#39; to &#39; &#39; (from [keyname]) in a<br>
sentence working with Pd vanilla.<br>
For the other key like &#39;Shift_L&#39; or &#39;Tab&#39;, etc. it&#39;s possible to add<br>
them in a [sel] object to make them inactive.<br>
Or if you work with Pd-entended the [entry] object seems very nice ;)<br>
I attach this last patch with abstractions (Pure Pd patch, working<br>
with Pd Vanilla) with new keys.<br>
++<br>
<br>
Jack<br>
?<br>
<br>
Le 12 ao?t 08 ? 20:34, Mike McGonagle a ?crit :<br>
<br>
&gt; Jack,<br>
&gt;<br>
&gt; I tested out your patch, textB.pd, and whenever I hit the &#39;shift&#39;<br>
&gt; key, it put &quot;Shift_L&quot; into the list of atoms. I am certain there<br>
&gt; are other keys that don&#39;t correspond exactly from how [keyname]<br>
&gt; represents them, and how us Humans might want to see them in text.<br>
&gt;<br>
&gt; Other keys that do this are &quot;Tab&quot;, &quot;Caps_Lock&quot;, &quot;BackSpace&quot; (for<br>
&gt; the delete key), &quot;Left&quot; (left arrow, etc. for the other arrow<br>
&gt; keys). The Help, Home, End, PageUp, and PageDown keys also insert<br>
&gt; other text into the list.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Aug 11, 2008 at 8:57 PM, Jack &lt;<a href="mailto:jack@rybn.org">jack@rybn.org</a>&gt; wrote:<br>
&gt; Yes, i had totaly forgotten this method ! Thanx Hans.<br>
&gt; So here the patch to create sentence with the keyboard using<br>
&gt; [makefilename %c] (more simple).<br>
&gt; ++<br>
&gt;<br>
&gt; Jack<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Le 12 ao?t 08 ? 03:32, Hans-Christoph Steiner a ?crit :<br>
&gt;<br>
&gt;<br>
&gt; [keyname] changed to be more cross-platform, and more key commands<br>
&gt; were added. &nbsp;Also, &quot;Space&quot; is used as the key symbol since Tcl uses<br>
&gt; &quot;Space&quot; to represent a space; &quot; &quot; wasn&#39;t working on all platforms<br>
&gt; IIRC ; and, &nbsp;it is much easier to deal with &quot;Space&quot; than &quot; &quot; in Pd.<br>
&gt;<br>
&gt; You could make a patch something like this to get a &quot; &quot;:<br>
&gt;<br>
&gt; [keyname]<br>
&gt; &nbsp; &nbsp; &nbsp; |<br>
&gt; &nbsp; &nbsp; &nbsp; [select Space]<br>
&gt; &nbsp; &nbsp; &nbsp; |<br>
&gt; &nbsp; &nbsp; &nbsp; [32(<br>
&gt; &nbsp; &nbsp; &nbsp; |<br>
&gt; &nbsp; &nbsp; &nbsp; [makefilename %c]<br>
&gt;<br>
&gt; .hc<br>
&gt;<br>
&gt; On Aug 10, 2008, at 3:35 PM, Jack wrote:<br>
&gt;<br>
&gt; i make three patches :<br>
&gt; one to send text mith a message box via OSC : send.pd<br>
&gt; one to receive text in a message box via OSC : receive.pd<br>
&gt; one to create a text with keyboard (to write), space (for a space)<br>
&gt; and return (to send) : text.pd<br>
&gt; Hope it is what you are looking for.<br>
&gt; ++<br>
&gt;<br>
&gt; Jack<br>
&gt; &lt;Archive.zip&gt;<br>
&gt;<br>
&gt; Le 10 ao?t 08 ? 17:25, Greg Surges a ?crit :<br>
&gt;<br>
&gt; Sure,<br>
&gt;<br>
&gt; I&#39;m working on constructing strings, to allow chat over OSC. So, I<br>
&gt; want to be able to use &quot; &quot; as a space, instead of getting results<br>
&gt; like &quot;helloSpaceworld&quot;.<br>
&gt;<br>
&gt; I&#39;ve written an external that will do it, but I want to see if<br>
&gt; there&#39;s a pd-vanilla way to do it.<br>
&gt;<br>
&gt; Thanks for the reply!<br>
&gt;<br>
&gt; On Sun, Aug 10, 2008 at 10:10 AM, Jack &lt;<a href="mailto:jack@rybn.org">jack@rybn.org</a>&gt; wrote:<br>
&gt; Hello Greg,<br>
&gt; To help you, can you tell us what you want to do with &quot; &quot; ?<br>
&gt; ++<br>
&gt;<br>
&gt; Jack<br>
&gt;<br>
&gt;<br>
&gt; Le 10 ao?t 08 ? 15:37, Greg Surges a ?crit :<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; First, pd-extended 0.40.3 is all-around great. Seems like lots of<br>
&gt; hard work went into it. So thanks to the people who worked on that.<br>
&gt;<br>
&gt; Second, has the vanilla keyname object changed? Specifically, does<br>
&gt; it now output &quot;Space&quot; instead of &quot; &quot; when the spacebar is used? Is<br>
&gt; there a work-around to get the &quot; &quot; back?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; - Greg<br>
&gt;<br>
&gt; --<br>
&gt; <a href="http://www.uwm.edu/%7Egssurges/" target="_blank">http://www.uwm.edu/~gssurges/</a><br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/" target="_blank">http://lists.puredata.info/</a><br>
&gt; listinfo/pd-list<br>
&gt;<br>
&gt;</blockquote></div><br>
</div>