Skip to main content
Adirai Maji
Inspiring
November 5, 2020
Question

[Scripting] How to Always keep focus on openDialog() until user open or close the prompt?

  • November 5, 2020
  • 1 reply
  • 329 views

Hi, I just noticed if I use openDialog() it let us select UI panel of our script. How can I disable that until we Close the openDialog() window:?

This topic has been closed for replies.

1 reply

Mathias Moehl
Community Expert
Community Expert
November 5, 2020

Are you talking about File.openDialog()?

This is really surprising, since it should be a modal dialog.

Does the same happen if you create your own modal dialog?

https://extendscript.docsforadobe.dev/user-interface-tools/types-of-controls.html#modal-dialogs

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects