Skip to main content
Inspiring
November 1, 2023
Question

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

  • November 1, 2023
  • 1 reply
  • 896 views

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

 

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
November 1, 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.

racheller14621378
Participant
November 9, 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?

try67
Community Expert
Community Expert
November 9, 2023

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

Yes. No.