Mobile app version of vmapp.org
Login or Join
Speyer780

: 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

@Speyer780

Posted in: #AdobePhotoshop #PhotoshopScripting

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: gist.github.com/appsbynight/3681050 Link to similar post: graphicdesign.stackexchange.com/a/21796/33547

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Speyer780

1 Comments

Sorted by latest first Latest Oldest Best

 

@Speyer780

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, wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/Photoshop-CS6-JavaScript-Ref.pdf

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme