Newbies Way Wong Posted January 21, 2001 Newbies Posted January 21, 2001 I was at the recent MacWorld and during the demo of FM5 and the FM folks said that the you can now trigger a script when a selection is made from a popup list or menu. I can't seem to find anything about it in the documentation. Can anyone point me to it or show me how this is done? Thanks, Way
Chuck Posted January 21, 2001 Posted January 21, 2001 I don't know of this being built into FileMaker, unless something has changed that I'm unaware of. I know of two work arounds for this. Use a plug-in like ScriptScheduler or use a script like this: Go to Field [ Select, Trigger_Field ] Loop
Newbies hve Posted January 22, 2001 Newbies Posted January 22, 2001 How do you start this script automatically? I tried it and it works as long as you invoke the script from the script menu. How do you get the script to run when leaving a field?
signal Posted January 22, 2001 Posted January 22, 2001 You can put a little button next to the field that calls the script. Filemaker remembers the field you were in. Not elegant but only other option is a plugin.
Chuck Posted January 22, 2001 Posted January 22, 2001 You can also assign the field itself to be a button. Select the field on the layout. Go to the Format->Button option in the menu bar. Select the Perform Script step on the left and select the script from the menu on the right. This solution has the disadvange that the user must click into the field for it to work. In other words, tabbing into the field will not run the script. However, it might be a workaround to remove the field from the tab order of the layout so that the user has to click into it to change the contents. If this doesn't work for you, then you need to take a look at a plug-in like ScriptScheduler. Chuck
Recommended Posts
This topic is 8958 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