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

New Here ,
Oct 10, 2018

Copy link to clipboard

Copied

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

TOPICS
Scripting

Views

158

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Oct 10, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Engaged ,
Oct 10, 2018

Copy link to clipboard

Copied

$.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

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
andranika94108709 AUTHOR LATEST
New Here ,
Oct 10, 2018

Copy link to clipboard

Copied

Thanks

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more