Enables or disables animations while a script is running.
•On enables animations while a script is running.
•Off disables animations while a script is running.
Product | Supported |
FileMaker Pro Advanced | Yes |
FileMaker Go | Yes |
FileMaker WebDirect | Yes |
FileMaker Server | Yes |
FileMaker Cloud products | Yes |
FileMaker Data API | Yes |
Custom Web Publishing | Yes |
Runtime solution | Yes |
FileMaker Pro 13.0
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.
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"]