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.

How can I force exit a window after 15 seconds of being idle?

Featured Replies

I am working on a POS system and when the user is in a particular window I need them to be transferred to a login screen if the computer is idle for a specified period of time. Is there a way to do this in FM8?

Idle meaning since the last time a script was executed?

You could always put a:

Pause/Resume Script[15 seconds]

Perform Script[To Log user out]

At the end of each script...

Then on to each button choose 'Halt' as the action to perform on the current script prior to execution.

Not that this is very efficient at 15 seconds because the user might be doing something else i.e. thinking while moving the mouse...

Anyway, hope this helped.

~Genx

15 seconds... you mean 15 *minutes* right?

I'd hate to use a system that required me to log-in every time I scratched my nose.

FileMaker Server can log-out users after idle time. I think 15 minutes might be the minimum.

Yeah, but log out vs. run script?

It would be good if FM server could execute a script on a remote client after a set period of time...

Then again, if you had 2 databases. One specifically for loging in, you could just have the window behind the main window and shut the main db after a set period of time.

  • Author

15 seconds... you mean 15 *minutes* right?

I'd hate to use a system that required me to log-in every time I scratched my nose.

FileMaker Server can log-out users after idle time. I think 15 minutes might be the minimum.

No, I actually need to exit to a login screen after 15 seconds...possibly 30.

The FM8 server minimum is 10 minutes. But even if it were less it would take too long for the users to login each time. I really need to keep FM running and have the users go to "my" login screen after the specified amount of "idle" time.

  • Author

Then again, if you had 2 databases. One specifically for loging in, you could just have the window behind the main window and shut the main db after a set period of time.

Yes, but how would you do this after a set period of "idle" time?

Just kick them off the server... Though i forget if the setting is per file or for the whole server.

Okay wait that wont work then, i only just read your first reply... go with my original suggestion. Or have a look at the onEvent plugin by software4humans... i think thats what they're called. Its all over these forums just search onevent. There might be an idle event for you to utilize.

Spenn

to the best of my knowledge Eventscript does not have an idle event trigger.

It will only trigger events based on calculations within fields although I did see something about it triggering events using tooltips perhaps but I don't think that will help you either.

I mention this just in case it will save you some time

Phil

Oh well, it was worth a suggestion.

Thats one thing filemaker still really lacks... event scripting.

Yup!!

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.