April 11, 200421 yr Is it possible to execute a script when the user hits the enter key in a layout? I'd like to create a "default" button in a standard layout if possible.
April 11, 200421 yr As far as I know, you can't do this without a pricey plugin. I can think of a couple of workarounds, though. You could set up your scripts so the user is always in "pause" mode. That way, hitting the enter key will continue the script, performing subscripts or whatever you need. This can be pretty tricky to keep synchronized for the user, unless the user is always doing a small series of standard data entry steps. A more drastic workaround would be to leave your script available under the "Script" menu. This way, the key combination Apple-1 will trigger it (Control-1 on a PC). Now get one of those keyboard redefining utilities and redefine your enter key to be Apple-1. I *told* you it was drastic! Steve Brown
Create an account or sign in to comment