Is there a way to get a text value from the user in a Photoshop script?

I’m using a JSX script to export an image to different sizes in Photoshop and I would like to get a value from the user such as to let them type in the file name. I would really like to show a dialog with a form but I would be fine if I could get the text value.

Link to script:
Link to similar post:


It looks like I can use prompt to get a value:

var value = prompt("Type in the name of the file", "filename.png"); 

If we run the code in Photoshop,

Source : Link , Question Author : 1.21 gigawatts , Answer Author : 1.21 gigawatts

Leave a Comment