My sticky fingers
Dar Scott Consulting
dsc at swcp.com
Wed Jun 12 11:27:02 EDT 2019
Maybe something like this? (I used raw, so adjust as you need.)
local wasUp = true
on rawKeyDown
if wasUp then
doSomething
end if
put false into wasUp
end rawKeyDown
on rawKeyUp
put true into wasUp
end rawKeyUp
command doSomething
put "x" after me
end doSomething
> On Jun 10, 2019, at 11:02 AM, Richmond via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Many things may be worn out . . . certainly
> my patience is wearing a bit thin when I cannot
> stop a command repeating itself because an end-user has got his/her finger
> stuck on an arrowkey.
>
> Richmond.
>
> On 10.06.19 19:40, JB via use-livecode wrote:
>> The keyboard might be worn out.
>>
>> JB
>>
>>
>>> On Jun 10, 2019, at 8:05 AM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>
>>> This sounds like the system's key repeat rate is set too fast.
>>>
>>> --
>>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On June 10, 2019 3:44:57 AM Richmond via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>
>>>> Everyyyyyyytttttime I try tooooooooo typppppe
>>>> sooooommmmmethhhhing myyyy fffffinnnngerrrrrrs
>>>> ggggget stuuuuuuuck on the keeeeeys tooooo
>>>> long . . .
>>>>
>>>> Especially in LiveCode (!)
>>>>
>>>> So?
>>>>
>>>> on keyDown
>>>> do something
>>>> get me the hell out of this so it doesn't happen more than once
>>>> end keyDown
>>>>
>>>> ?
>>>>
>>>> Richmond.
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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