Jump 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.

Triggering Filemaker scripts using the filemaker URL scheme

Featured Replies

Say I have a webviewer running a javascript count down timer. Is it possible using the filemaker URL Scheme to trigger filemaker scripts from this webviewer ?

 

FMPurlscheme.png

If you're just trying to trigger the script to run at a certain time from within FileMaker Go, rather than from another app running on iOS, why don't you just use the OnTimer script trigger?

  • Author

If you're just trying to trigger the script to run at a certain time from within FileMaker Go, rather than from another app running on iOS, why don't you just use the OnTimer script trigger?

 

Atleast on the Desktop, Whenever I tried creating a count down timer with OnTimer Script trigger, that updated a visual representation of time left using a progress bar...

 

1.The screen flickered everytime the progressbar was updated by a script step

2. Filemaker wouldn't let me do anything on the fields during this update. So if I were to run the progressbar updating everysecond, I couldnt do anything useful on the screen until the count down finished.

 

There is already that article about Javascript countdown timers in Filemaker using a webviewer. The technique looks very complicated. So wanted to know if I could use a javascript countdown timer which when reaches zero could trigger a script using the FMP URL Scheme before going down that path.

Or may be there is a different way of using the OnTimer Script trigger to create a progressbar that visually represents the time a user has left to enter data in a layout? May be this flicker is not there on Mac or iOS ?

 

Thanks for any suggestions

You should be able to create and call the function. Something like:

 

 

 

EDIT: Sorry had to add as image because the forums didnt like the code snippet.

post-72675-0-05586300-1377275807_thumb.j

You could still render the countdown timer in a web viewer, and only trigger the operation being counted down to with the OnTimer script.

Create an account or sign in to comment

Important Information

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

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.