Skip to main content
greless
Inspiring
October 18, 2019
Question

How to create a modeless dialog

  • October 18, 2019
  • 2 replies
  • 1316 views

hi,

I created a dialog,but it is a modal dialog,it's running in the meantime the ps can't operatting

var myWindow = new Window ("dialog", undefined,undefined, {closeButton: true, borderless: false});  
var myMessage = myWindow.add ("statictext");
myMessage.text = "Hello, world!";
myWindow.show ( );

 so ,could we  create a modeless dialog?

This topic has been closed for replies.

2 replies

Legend
October 18, 2019

I recommend looking through the ExtendScript documentation, there are multiple window types that you can specify when you create a window.

c.pfaffenbichler
Community Expert
Community Expert
October 18, 2019

You may wantt to create an html5-Panel instead. 

greless
grelessAuthor
Inspiring
October 18, 2019
I know that cep and SDK development is ok,if script UI can be better
c.pfaffenbichler
Community Expert
Community Expert
October 18, 2019

I think there used to be at least one hack to make a dialog non-modal but that seems risky as it is not what Photoshop-dialogs are intended for.