How do I force a key to enter just one character when being pressed?

William de Smet williamdesmet at gmail.com
Wed Jan 19 10:12:36 EST 2011


Thanks Graig but the app will be mostly used on Windows (but developed
on a Mac).
@ Thierry: RawKeyDown will will work if you specify a certain key.

local pressed
on arrowKey theKey

     if (theKey = "Right") and (not pressed) then
          put true into pressed
     end if

on rawKeyUp keycode
   if keycode = 65361 then put false into pressed
end rawKeyUp

Can I change this? And how do I do that?


greetings,

William



2011/1/19  <DunbarX at aol.com>:
> Is there a way to set the "delay until repeat" in the system prefs to
> "off".
>
> This on a mac, anyway.
>
> Craig Newman
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




More information about the Use-livecode mailing list