Set Layout Object Animation
Enables or disables animations while a script is running.
Options
- On enables animations while a script is running.
- Off disables animations while a script is running.
Compatibility
Product | Supported |
FileMaker Pro | Yes |
FileMaker Go | Yes |
FileMaker WebDirect | Yes |
FileMaker Server | Yes |
FileMaker Cloud | Yes |
FileMaker Data API | Yes |
Custom Web Publishing | Yes |
Originated in version
13.0
Description
Enabling animations increases the time required for a script to run. Disabling animations overrides any animation settings for other script steps. This script step affects all script-initiated animations in all windows.
Note Set Layout Object Animation does not return an error when it runs in a FileMaker product in which animations are not supported.
Example 1
While a script is running, animations are typically disabled. If a script causes a slide control to switch between panels, there will be no animation providing feedback to users. To call attention to the transition from panel to panel, use Set Layout Object Animation [On] to enable animation prior to switching between slide panels using the Go to Object script step.
Set Layout Object Animation [On]
Go to Object [Object Name: "Panel 1"]
Pause/Resume Script [Duration (seconds): .5]
Go to Object [Object Name: "Panel 2"]
Pause/Resume Script [Duration (seconds): .5]
Go to Object [Object Name: "Panel 3"]