rkass068 Posted December 31, 2013 Posted December 31, 2013 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
jbante Posted January 1, 2014 Posted January 1, 2014 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).
Fitch Posted January 2, 2014 Posted January 2, 2014 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. 1
rkass068 Posted January 3, 2014 Author Posted January 3, 2014 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!
jbante Posted January 3, 2014 Posted January 3, 2014 Why don't you configure the iPads to auto-lock after 5 minutes?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now