How to use photoshop with a script dialog opened
Hi, I am trying to write a JS script for PS. It starts without any document open:
- it shows a dialog with a file selection and a multiline text box
- after pressing a button the text is parsed in a way that x1 lines are associated to file1, x2 lines to file2, etc
- it opens file1 and shows a new dialog with the list of lines associated to file1
- with the dialog open I draw some levels for placing the text and I need to keep the text as reference because I need to place the elements accordingly to the number and the order of lines
- I press a button on the dialog, it does some stuff, save&close the file and pass to the next
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.
