Skip to main content
Known Participant
Oct 10, 2018 11:17 AM UTC
Question

Timer on extend : run a function after a specific number of seconds

run a function after a specific number of seconds. is that possible ?

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Known Participant
Oct 10, 2018 6:10 PM UTC

Thanks

Translate
Inspiring
Oct 10, 2018 11:38 AM UTC

$.sleep to wait as Rick suggested,

but if you need a real timer this is not possible as this requires multithreading which is not possible in FM

Translate
frameexpert
Community Expert
Community Expert
Oct 10, 2018 11:31 AM UTC

Check chapter 8 of the "JavaScript Tools Guide" (available under the ExtendScript Toolkit Help menu). There is a $.sleep() method.

Translate
www.frameexpert.com