Jump to content

Trigger script from popup selection?


This topic is 8518 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 8518 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.