I plan to support all of the Tk key symbols in that [key( message but I haven't found an easy way to do that yet. Here's the list of symbols used for keys in Tcl/Tk:

http://tcl.tk/man/tcl8.4/TkCmd/keysyms.htm

Basically, in Tcl, I need a way to insert the character using the key symbol.

.hc

On Nov 19, 2007, at 7:25 PM, Mike McGonagle wrote:

Thanks, Hans, once again, I hit just reply instead of reply to all...

I did a quick test on the key message, and it appears that some keys are still not allowed. Such things as a double quote ("), a percent sign (%), and left bracket ([) (but it does allow a right bracket), the backslash (\) and a tilde (~). All of these characters can be typed directly into the [text] widget.

While I know some of the characters are special in PD, some of these things are probably needed to support the full character set that SQL can recognize.

I was hoping that I could use a [text] object as a buffer to create multiple SQL statements that would get sent to the server as a group. I kind of think this would be useful in storing data in a database, in hopes of keeping down the number of things sent to the server at once. I was toying with the idea of adding this to the SQL external itself, but I seem to be running into a problem that I can't troubleshoot, as it doesn't appear to have any rhyme or reason as to why it acts that way.

Thanks for your help,

Mike


On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote:

I cc'ed the list since it's of general interest.

This message is called [append( for lists/atoms and [key( for individual keystrokes (i.e. "space" makes a space char).

.hc

On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:

Hans,

I was wondering if it would be possible to add some messages that [text] would use to append its buffer? I would think things similar to what a message box already understands, things like 'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and 'adddollarsym'.

Or is there something already in place?

Mike


On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner < [EMAIL PROTECTED]> wrote:

On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:

> On 11/14/07, Hans-Christoph Steiner < [EMAIL PROTECTED]> wrote:
>> Right, not directly. This hopefully will allow people to do things >> like write SQL queries in [text] or have a chat app that allows all
>> punctuation.
>>
>> Since each key typed outputs a [key ( messages from the right status
>> outlet, it would be possible to make an object which would let you
>> create messages separated by commas, if you wanted.
>>
>
> I was playing with 'entry' in the 4 extended (one of the nightly build
> from last week), and I noticed that there was not an indication of
> there being a second outlet on the right, but it is there.

Fix in CVS>

> I also
> noted that there is no 'help' file for it, but it was there in the 39
> extended.

Yeah, the help file problem is thruout 0.40.3-extended builds AFAIK...

> Also, is there some way to change the font size? As it is right now
> the font is really small.

Coming soon... :) (or build tkwidgets from source)

.hc

--------------------------------------------------------------------- ---
----

"[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it away to benefit those who profit from
scarcity."        -John Gilmore





--
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



---------------------------------------------------------------------- ------

                  ¡El pueblo unido jamás será vencido!





--
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



------------------------------------------------------------------------ ----

                                              http://at.or.at/hans/


_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to