Scripts can begin with Script step Allow User Abort [off] and there's no more stopping.
Other measures are exiting scripts with Exit Script [false], intercepting layout keys pressed with script trigger OnLayoutKeystroke, opening entering data screens in modal windows, etc.
Thanks! I had not known about Allow User Abort[off] so I will try it.
But how can I intercept key presses? That is what I need for the Enter key problem.
Thanks to your help, I now prevent 'Command-period' from being used to activate the 'Cancel' key (by adding 'Allow User Abort[off]' ), and prevent 'Enter' from activating the 'Continue' button (by not tabbing into the button); however both solutions require data enterers to disengage from the keyboard to use the mouse. This slows down data entry, and I know I will hear howls of displeasure.
What is needed is to trap 'Enter' and redirect it as 'Return', and redirect 'Command-period' as 'Return'. I have used other databases where you could easily set the keys to activate individual buttons, but I guess Filemaker doesn't have this.
I have tried triggers to identify that 'Enter' is pressed, but can't figure out how to redirect it as if it were 'Return'.