Count text letters & set font size
Posted: Sun Apr 22, 2018 6:31 am
hi, i am using photoshop variables to import csv file into photoshop.
the csv file contains three type of text lines.
1. 50 letter text line
2. 75 letter text line
3. 100 letter text line
i dont no anything about scripting. so i need help
i want a script that do following things.
for example, if text line contains "50 letters" set font size to "140 px".
if text line contains "75 letters" set font size to "110 px"
if text line contains "100 letters" set font size to "80 px"
the csv file contains three type of text lines.
1. 50 letter text line
2. 75 letter text line
3. 100 letter text line
i dont no anything about scripting. so i need help
i want a script that do following things.
for example, if text line contains "50 letters" set font size to "140 px".
if text line contains "75 letters" set font size to "110 px"
if text line contains "100 letters" set font size to "80 px"