November 8, 200223 yr I would like to know ...If I have a a field text ...when I enter text field and press Enter and it execute the script ...instead of enter the field and press the button to execute the script? IS there a way to achieve it? Thanks
November 9, 200223 yr There is no direct way to have a script trigger from the 'Enter' key in current versions of FMP, however you can continue a script which is paused by using the 'Enter' key on the numeric keypad (not the one on the alpha keyboard on Windows computers though). If you can contrive to have a script already running and paused before users enter the field, that will work. Alternatively, if you don't mind omitting the field from the tab order, you can have a script attached directly to the field which performs a Go To Field step, then pauses, and performs whatever other actiond you require after the pause. The script will be activated when the user clicks on the field to enter it, and continued when they press 'enter' (but you'll have to turn off 'Allow entry into field' so that you will be sure they will have clicked to enter the field).
Create an account or sign in to comment