Script Steps Reference
Table Of Contents
- Contents
- Script steps reference (alphabetical list)
- About script steps
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Audio/Video
- Insert PDF
- Insert File
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Glossary
Control script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 38
Install OnTimer Script
Purpose
Runs a specified script at the specified interval. Installs a timer on the active window. After the
specified interval has passed, the next time the application is idle, runs the specified script.
Format
Install OnTimer Script [“<script>”; Parameter: <script parameter>;
Interval: <number>]
Options
Click Specify to set the variable options:
• Specify script is the script that you want to run.
• Interval seconds is the value in seconds that the timer waits before running the script.
Compatibility
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.
Note To run scripts on a schedule and independently of open windows, see FileMaker Server Help.
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 )]
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