Thank you for your post!
It seems that you have an input of "% %%" or "((((" or "&&&&&&" in a field when using a keystroke trigger based off of Arrow Keys (up, down, left, and right). From what I can see in your script, there shouldn't be any characters added to the fields if you are just hitting the Arrow keys. If you could provide a little more information:
-Do you have any OnObjectEnter Triggers (or any other triggers) on the fields which are receiving the character entry?
I am also going to move this thread from the FileMaker Community Feedback Space, which is specifically for input on the Community itself, to the Discussions Space where you should receive even more views and potentially more advice!
There is nothing in your script that creates any output. So, as suggested, there may be other scripts/triggers involved.
(However, this does look suspiciously like when my cat walks on the keyboard.)
You can speed up performance this way:
Set a variable $keyCode = Code ( Get ( TriggerKeystroke ) )
if patterncount("28 29 30 31"; $keyCode) > 0
... evaluate $keyCode
... skip all that logic
(p.s. it also looks suspiciously like the behavior of a wireless keyboard with a poor blue-tooth connection.)
Thank you for your reply. Here is my on object enter script - just for remove 0.
Thank you for moving me to other section.
Its a kable keyboard - and the problem appears when I'm pressing keys very fast - like PC do not have the power to go ahead with script.
I will check how it works with your suggestion with varaible.
Good day everybody.