• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Community Beginner ,
Oct 10, 2018 Oct 10, 2018

Copy link to clipboard

Copied

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

TOPICS
Scripting

Views

235

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2018 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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 10, 2018 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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Thanks

Votes

Translate

Translate

Report

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