Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hello,

 

I am just wondering if there is a method to apply a script to all layouts in a database solution. I have many layouts in my solution and I would like to know if it is possible to apply an on timer script to every layout as opposed to going into the settings and setting a script trigger manually to each and every layout. 

 

Thanks

 

Posted

OnTimer script triggers are applied to a window, not a layout. When you install an OnTimer trigger, it will apply to the current window, and it will continue to apply to that window until the trigger is either uninstalled or the window is closed. Switching layouts will not cancel an OnTimer trigger (not unless switching the layouts triggers a script that uninstalls the OnTimer trigger).

Posted

Maybe he wants the script to trigger and restart the timer each time you switch layouts?

 

You can select a bunch of fields on a layout and assign them a script trigger, but no, you have to assign layout script triggers one layout at a time.

  • Like 1
Posted

Maybe he wants the script to trigger and restart the timer each time you switch layouts?

 

You can select a bunch of fields on a layout and assign them a script trigger, but no, you have to assign layout script triggers one layout at a time.

 

Yes I do want the timer to reset when the user interacts with the database, like on a keystroke or layout switch. The reason is because I am creating a database for a hospital and on filemaker go I want the database to go to a layout (privacy layout) after a certain amount of time, just incase someone peaks over at the doctors iPad and he/she is doing something else. Its for privacy issues. I already have the server to terminate the connection if idle after 10 minutes but I need this privacy layout after for example 5 min. Kind of like a screen saver. If that is impossible its not a big deal. 

 

Thanks!

This topic is 3976 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.