Script Steps Reference
Table Of 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 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
- Truncate Table
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Show Custom Dialog
- Allow Formatting Bar
- Refresh Object
- Beep
- Speak (OS X)
- Dial Phone
- Install Plug-In File
- Install Menu Set
- Set Web Viewer
- Open URL
- Send Mail
- AVPlayer Play
- AVPlayer Set Playback State
- AVPlayer Set Options
- Refresh Portal
- Send DDE Execute (Windows)
- Perform AppleScript (OS X)
- Execute SQL
- Send Event
- Comment
- Flush Cache to Disk
- Exit Application
- Get Directory
- Enable Touch Keyboard
- Glossary
Miscellaneous script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 244
Refresh Object
Purpose
Updates the contents, conditional formatting, and visibility state of the specified object.
Format
Refresh Object [Object Name: <object name>; Repetition: <value or
formula>]
Options
• Object name is a named object on the current layout.
• Repetition (optional) lets you choose which field repetition to refresh. Defaults to 1. This
option is ignored if the object is not a field.
Compatibility
Originated in
FileMaker Pro 13.0
Description
Refresh Object does not support repetition numbers when updating the visibility state of an object
with a hidden condition.
If the specified object is in a portal, Refresh Object updates the object in every visible portal row.
If the repetition calculation returns zero, or the expression does not exist, all repetitions are
refreshed.
Note To update all objects in the current window, use the Refresh Window script step.
Example 1
Allows the user to log in to a different account and updates the visibility state of the Confidential
object. The Confidential object hides when the user is not logged in to the Admin account.
Re-Login [With dialog: On]
Refresh Object ["Confidential"]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server No
FileMaker Go Yes
Custom Web Publishing No
FileMaker WebDirect Yes
Runtime solution Yes