Skip to main content
Inspiring
July 20, 2019
Question

Allow only one instantiation of the same dialog

  • July 20, 2019
  • 0 replies
  • 292 views

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.

This topic has been closed for replies.