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

app.alert interferes with .bringToFront()

Engaged ,
Nov 06, 2017 Nov 06, 2017

I have a script that opens another document, doc B, and brings it to the front. I want to add an app.alert to the script that tells the user to do something with doc B. However, no matter where I place the app alert, i.e. before or after "docB.bringToFront()", the app.alert prevents .bringToFront() from working. If I remove the app.alert() then docB is brought to the front.

I would appreciate your suggestions. Thank you.

TOPICS
Acrobat SDK and JavaScript , Windows
379
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 06, 2017 Nov 06, 2017
LATEST

After bringing the document to the front. Set the alert to be triggered after a 100 millisecond timeout.

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