| 1. |
Create a blank project |
 |
| 2. |
Add any new animation |
 |
| 3. |
Add new number variable name it as "Handle" |
 |
| 4. |
Add a new script |
 |
| 5. |
Name it "AutoCloseScript" |
 |
| 6. |
Add new Action [Basic Action] --> [Terminate
Application] |
 |
| 7. |
Add a new script again and name it anything
you want |
 |
| 8. |
Change script event to Startup this will
cause the script to be executed at startup |
 |
| 9. |
Add new Action [Timer] --> [Set Page
Timeout] |
 |
| 10. |
Fill Handle with variable which you have
created on step 3, you can change your timer by using handle. |
 |
| 11. |
Fill Interval with 500 which means you want
the script on step 11 executed after 5 second
( every 100 tick is one second). |
 |
| 12. |
Fill loop with 1 which mean only do this
once. |
 |
| 13. |
Preview the animation. If you followed the
above direction your animation should stop
after 5 seconds. |