Copy link to clipboard
Copied
Hi, I am trying to write a JS script for PS. It starts without any document open:
My problem is the point 4, with an open dialog I can't edit the psd I open. Is there a way to edit my files without ending the script? I also tried the other type of window, the panel, I don't know why but if I launch it, it is immediately closed. Thank you.
Photoshop scripting does not have Palette windows support. A script can display a progress window or a Dialog window. When you show a dialog windows Photoshop ScriptUI opens the interactive dialog window and wait for the user to use the dialog features. Your script can have function triggered by clicks, by changes by sliders etc. But basically with a script dialog window open ScriptUI is actively waiting for the user to use some feature of the dialog. Your Script passed control to ScriptUi w
...Copy link to clipboard
Copied
Copy link to clipboard
Copied
Photoshop scripting does not have Palette windows support. A script can display a progress window or a Dialog window. When you show a dialog windows Photoshop ScriptUI opens the interactive dialog window and wait for the user to use the dialog features. Your script can have function triggered by clicks, by changes by sliders etc. But basically with a script dialog window open ScriptUI is actively waiting for the user to use some feature of the dialog. Your Script passed control to ScriptUi with show dialog. Your script is waiting for the show to be over and return control. The user can not use Photoshop UI. Photoshop passed control to your script. Photoshop responds only to your script commands till it terminated
Copy link to clipboard
Copied
I see, that's a bummer. I will looking for another way to do it. Thank you.
Copy link to clipboard
Copied
I gave you a link to a thread that discussed a similar question. There is no problem to use palette mode via bridgeTalk.
Copy link to clipboard
Copied
Ok, I will give a look at it. Thanks