Set Layout Object Animation
 
Purpose 
Enables or disables animations while a script is running.
See also 
Format 
Set Layout Object Animation [<on or off>]
Options 
 •
On enables animations while a script is running.
 •
Off disables animations while a script is running.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 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"]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)