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

Allow only one instantiation of the same dialog

Engaged ,
Jul 20, 2019 Jul 20, 2019

Copy link to clipboard

Copied

i,

How do i prevent multiple instantiation of the same dialog from opening?

I created a panel with a button which run a script.

When i press a button a script runs and the script open a dialog.

How can i suspend/prevent the user from pressing the panel button while the script dialog is open to prevent multiple instantiations of the same script/dialog?

When multiple instantiations  are open - only the last ids active

I noticed that if i run it from the script menu in PS, I can only open a single dialog for the same script.

Views

258

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
no replies

Have something to add?

Join the conversation