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

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

Explorer ,
Nov 01, 2023 Nov 01, 2023

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
625
Translate
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

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.

Translate
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

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?

Translate
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
LATEST

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

Yes. No.

 

Translate
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