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

Javascript execution stops while I navigate to the menu options - Acrobat DC

Explorer ,
Nov 01, 2023 Nov 01, 2023

Copy link to clipboard

Copied

We are using Acrobat javascript API in which we try to execute folder level javascript, the execution stops when I navigate to the menu options. Is there any way, the javascript execution should not stop?

 

Attached video for reference.

https://app.screencast.com/6xMQtE0xMDBif

 

 

TOPICS
How to , JavaScript , PDF

Views

249

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 ,
Nov 01, 2023 Nov 01, 2023

Copy link to clipboard

Copied

No. When a modal dialog is opened (such as the application's menu or a pop-up window) all scripts are halted until it is closed.

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
New Here ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

Is Acrobat single-threaded or is there a way to run scripts on a separate thread than the UI? We are trying to run some code in the background, while allowing the user to interact with the Acrobat. Is this possible?

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 Expert ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

LATEST

> Is Acrobat single-threaded or is there a way to run scripts on a separate thread than the UI?

Yes. No.

 

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