Set Script Animation
Purpose 
Enables or disables animations while a script is running.
Format 
Set Script 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 
Partial 
FileMaker Server scheduled script 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Partial 
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.
Notes
 •
 •
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 Script Animation [On] to enable animation prior to switching between slide panels using the Go to Object script step.
Set Script 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)