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