Jack,
I tested out your patch, textB.pd, and whenever I hit the 'shift' key, it put "Shift_L" into the list of atoms. I am certain there are other keys that don't correspond exactly from how [keyname] represents them, and how us Humans might want to see them in text.
Other keys that do this are "Tab", "Caps_Lock", "BackSpace" (for the delete key), "Left" (left arrow, etc. for the other arrow keys). The Help, Home, End, PageUp, and PageDown keys also insert other text into the list.
Mike
On Mon, Aug 11, 2008 at 8:57 PM, Jack
<jack@rybn.org> wrote:
Yes, i had totaly forgotten this method ! Thanx Hans.
So here the patch to create sentence with the keyboard using [makefilename %c] (more simple).
++
Jack
Le 12 août 08 à 03:32, Hans-Christoph Steiner a écrit :
[keyname] changed to be more cross-platform, and more key commands were added. Also, "Space" is used as the key symbol since Tcl uses "Space" to represent a space; " " wasn't working on all platforms IIRC ; and, it is much easier to deal with "Space" than " " in Pd.
You could make a patch something like this to get a " ":
[keyname]
|
[select Space]
|
[32(
|
[makefilename %c]
.hc
On Aug 10, 2008, at 3:35 PM, Jack wrote:
i make three patches :
one to send text mith a message box via OSC : send.pd
one to receive text in a message box via OSC : receive.pd
one to create a text with keyboard (to write), space (for a space) and return (to send) : text.pd
Hope it is what you are looking for.
++
Jack
<Archive.zip>
Le 10 août 08 à 17:25, Greg Surges a écrit :
Sure,
I'm working on constructing strings, to allow chat over OSC. So, I want to be able to use " " as a space, instead of getting results like "helloSpaceworld".
I've written an external that will do it, but I want to see if there's a pd-vanilla way to do it.
Thanks for the reply!
On Sun, Aug 10, 2008 at 10:10 AM, Jack <jack@rybn.org> wrote:
Hello Greg,
To help you, can you tell us what you want to do with " " ?
++
Jack
Le 10 août 08 à 15:37, Greg Surges a écrit :
Hi all,
First, pd-extended 0.40.3 is all-around great. Seems like lots of hard work went into it. So thanks to the people who worked on that.
Second, has the vanilla keyname object changed? Specifically, does it now output "Space" instead of " " when the spacebar is used? Is there a work-around to get the " " back?
Thanks,
- Greg
--
http://www.uwm.edu/~gssurges/
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
http://www.uwm.edu/~gssurges/
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
If you are not part of the solution, you are part of the problem.
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician