Install OnTimer Script
 
Purpose 
Runs a specified script at the specified interval.
See also 
Format 
Install OnTimer Script [“<script>”; Parameter: <script parameter>; Interval: <number>]
Options 
 •
Specify script lets you specify the script you want to perform.
 •
Optional script parameter lets you specify a script parameter for the specified script.
 •
Interval seconds is the value in seconds that the timer waits before running the script.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 10.0
Description 
This script step installs a single timer on the active window and repeats the specified script in that window until another Install OnTimer Script step installs a timer on the window or until the window closes. You can halt an installed timer by running another Install OnTimer Script step without specifying a script or interval.
Notes
 •
 •
Example 1 
Uses the Install OnTimer Script step to run the Clock script once every minute.
Script: Clock OnTimer
Install OnTimer Script [“Clock”; Interval: 60]
Script: Clock
Set Field [Clock::Time; Get ( CurrentTime )]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Setting up script triggers
Using variables