Skip to main content
Known Participant
March 13, 2023
Question

Photoshop text style in .csv Data sets

  • March 13, 2023
  • 1 reply
  • 1942 views

Hi All,

 

In photoshop I am trying to add text styles to inline words in text boxes that are populated by a csv file. For example I would love to be able to add html style tags in the csv file that would change colors of font sizes for example.

 

To be clear the text is not editable in the interface it would have to be be applied to the text being fed into photoshop automatically.

 

I would be very grateful for any insight as to whether this could be possible?

 

Many thanks,

 

Nick

This topic has been closed for replies.

1 reply

c.pfaffenbichler
Community Expert
Community Expert
March 13, 2023

Text editing via Scripts is not exactly comfortable (in my opinion) as it needs using AM code. 

I would recommend doing type-heavy work in more appropriate applications (Indesign or Illustrator for example). 

 

How exactly do you imagine the process?

Do the Styles already exist in the layered file, do they need to be created by the Script itself, …? 

How many Styles, …? 

Nick5FF2Author
Known Participant
March 14, 2023

Hi,

 

Thanks for your reply.

 

I have pre exisiting phtoshop files from and exisiting work flow.

 

I would like to automate copy varients of the photoshop files using the .csv and dataset functionality. I was hoping that I could edit the csv's to have standardised tags or custom ones that I could then parse with a script in phtoshop to do simple inline text styles (like making single words colors change and or fonts size changes to certain words in the text box). 

 

Thanks,

 

Nick

 

Nick

c.pfaffenbichler
Community Expert
Community Expert
March 14, 2023

As far as I know Photoshop’s Data Set functionality will not do that (at current). 

So you may have to use a Script, in which case it might be more efficient to do the whole variants-operation via Script. 

Can you provide screenshots (including the pertinent panels) to illustrate the complete process (the template, the csv, the intended result)? 

 

Do you have Photoshop Scripting experience yet or are you familiar with JavaScript?