Re: Limiting the number of characters per line in a scrolling field?

2005-04-23 Thread Dar Scott
On Apr 23, 2005, at 4:14 PM, Glen Bojsza wrote: This seems to do the trick but now I have to ask... What's an accented character? I'm thinking of umlaut and such. Maybe I'm using the wrong word. On OS X when I type in option-u u, the key message handlers are bypassed. Maybe that's been fixed? D

Re: Limiting the number of characters per line in a scrolling field?

2005-04-23 Thread Glen Bojsza
This seems to do the trick but now I have to ask... What's an accented character? On 4/23/05, Dar Scott <[EMAIL PROTECTED]> wrote: > > On Apr 23, 2005, at 2:09 PM, Eric Chatonet wrote: > > > on keyDown pKey > > if (pKey is an integer) and (the number of chars of the selectedLine > > < 5) the

Re: Limiting the number of characters per line in a scrolling field?

2005-04-23 Thread Dar Scott
On Apr 23, 2005, at 2:09 PM, Eric Chatonet wrote: on keyDown pKey if (pKey is an integer) and (the number of chars of the selectedLine < 5) then pass keyDown end keyDown Will this let in the occasional accented character? Dar -- ** DSC (Dar Scott C

Re: Limiting the number of characters per line in a scrolling field?

2005-04-23 Thread Dar Scott
On Apr 23, 2005, at 1:07 PM, [EMAIL PROTECTED] wrote: send "CheckMe" to me in 10 milliseconds Or send "Checkme" to me in -10 seconds Without the time-travel external, that queues it up to execute right after the current goings-on, but after really high priority stuff that was queued for

Re: Limiting the number of characters per line in a scrolling field?

2005-04-23 Thread Eric Chatonet
Hi Glen, One liner handler in the script of your field (if you please) : on keyDown pKey if (pKey is an integer) and (the number of chars of the selectedLine < 5) then pass keyDown end keyDown Best regards from Paris, PS. My ears don't like beep ;-) Le 23 avr. 05, à 12:50, Glen Bojsza a écrit :

Re: Limiting the number of characters per line in a scrolling field?

2005-04-23 Thread Cubist
sez [EMAIL PROTECTED]: >I would like to limit the number of characters a user can input on any >line in a scrolling field. > >In the field script > >on keydown theKey > if theKey is not in " 0 1 2 3 4 5 6 7 8 9 - . " then > beep > exit keydown >else >if (the length of me) > 4 then >