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.

MMScripts Example

Featured Replies

I'm trying to evaluate MMScripts, particularly for the capacity to check for idleness. Given it's the end of the week and I guess I'm brain dead, I need more explanation than I get from the help section. This is the info on the example at the website:

Create an Idle Script Event

To create an idle script event, use the MMScript_CreateIdleScriptEvent function. The format of the function is as follows:

MMScript_CreateIdleScriptEvent( EventName ; Script ; IdleTime {; DB {; EventValue {; Repeat {; Persistent }}}} )

The quickest way to schedule a script using this function is:

MMScript_CreateIdleScriptEvent( "MyIdleEvent" ; "Time Out" ; "15m" )

The above code will run the script "Time Out" if the user does not interact with FileMaker for 15 minutes.

If you want the event to activate again once the user does interact, then you want to set the "Repeat" parameter to True....

MMScript_CreateIdleScriptEvent( "MyIdleEvent" ; "Time Out" ; "15m" ; Get ( FileName ) ; "MyValue" ; True )

My questions are these:

I must not be seeing the big picture here to understand how this all ties together.

Where does the MMScript_CreateIdleScriptEvent go or is put in/onto? Does something get put on each layout, or does it work file-wide?

Would the MMScript_CreateIdleScriptEvent go into the body of the 'Time Out' script itself?

Any chance there is a demo file out there with this function built in to experience and pick apart?

Thanks for any help. I'm trying to make my decision in time for the discount (end of Aug).

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.