Skip to main content
Known Participant
May 9, 2022
Question

How to create an action where Photoshop asks a question and I have to fill in the answer

  • May 9, 2022
  • 3 replies
  • 5078 views

I know ( o no, I knew) that there is a way to create an action where Photoshop pops up with a question and I can fill in text in that pop up, and that text is than placed into the image. Can anybody provide me with a link to a tutorial how to do that?

This topic has been closed for replies.

3 replies

Kukurykus
Legend
May 10, 2022

 

with(activeDocument.artLayers.add())
	kind = LayerKind.TEXT, textItem
	.contents = prompt('TEXT')

 

Save it this code as text.jsx in 'Presets / Scripts' folder of your Photoshop.

Relaunch app and record to your action the 'text' item from 'File / Scripts'.

Legend
May 9, 2022

Yes this would be a script, there are numerous script examples floating around the Web. You can take a look at my sample scripts if you'd like, I don't have one exactly like this but it wouldn't take much to adapt one.

https://www.dropbox.com/sh/mg817g9a9ymbasi/AADTmXUVxmFfM58bcyYE7yiwa?dl=0

Stephen Marsh
Community Expert
Community Expert
May 9, 2022
AppelmoesAuthor
Known Participant
May 9, 2022

Hello Stephen,

Thanks I will look into that.

c.pfaffenbichler
Community Expert
Community Expert
May 9, 2022

If the issue is just text in a type layer maybe recording entering text and then checking the »toggle dialog on/off«-box in the Actions Panel might be enough. 

 

Please explain the intended procedure.