Anh_Tran Posted November 8, 2002 Posted November 8, 2002 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
CobaltSky Posted November 9, 2002 Posted November 9, 2002 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).
Recommended Posts
This topic is 8054 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now