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.
Have something to add?