Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Run script on page load

Featured Replies

I am just starting out with fmp and I was wondering how to make scripts automatically load and be active without clicking on buttons.

Hi.

The obvious answer is to run a script when a file is opened. This is done through File -> File Options.

If you are referring to event-based scripting. This is an entirely different animal. This is not supported natively in Filemaker. However, there are some fine plug-ins out there that can accomplish this. Waves In Motion and I think Troi both jump to mind.

It sounds from your subject that perhaps you are referring to web stuff? This, of course, would be a different can of worms.

good luck

May be Only when opening file in "file/file options" menu and when clossing.

  • Author

is there any way to run more than one script in file options?

Sure. You could have a main script that then runs other scripts when it is run. This script step you use to run another script is 'perform script'.

Hi.

The obvious answer is to run a script when a file is opened. This is done through File -> File Options.

If you are referring to event-based scripting. This is an entirely different animal.

Is there a way to run a script when a layout is selected?

The way most developers do this is to turn off the status area, and use buttons and scripts to navigate between different layouts. Then the button can execute a script which goes to the target layout, and performs whatever else needs to be done at the same time.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.