Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Photoshop open multiple image and add different texts

$
0
0

Hi All,

 

Hope you are all doing great. I just started doing photoshop scripting due to the requirement which I will mention in detail below.

 

My scripting is knowledge is very basic so I was hoping you guys could be able to help me out with this.

 

The requirment is that I have 100's of images which needs to be opened in photoshop and add text based on the image name then save the image as JPEG at 70 quality. For example:

 

I have images named as below in my desktop folder,

 

Image1.jpg

Image2.jpg

Image3.jpg

Image4.jpg

Image5.jpg

Image6.jpg

Image7.jpg

Image8.jpg

Image9.jpg

Image10.jpg

 

For the script, I think the easiest way is that if I define what image name are:

 

image[1] = Image1.jpg

image[2] = Image2.jpg

image[3] = Image3.jpg

image[4] = Image4.jpg

image[5] = Image5.jpg

image[6] = Image6.jpg

image[7] = Image7.jpg

image[8] = Image8.jpg

image[9] = Image9.jpg

image[10] = Image10.jpg

 

and for text I have done this:

 

text [1] = Image1

text [2] = Image2

text [3] = Image3

text [4] = Image4

text [5] = Image5

text [6] = Image6

text [7] = Image7

text [8] = Image8

text [9] = Image9

text [10] = Image10

 

So everytime when I run the script image1 will be added to the photoshop and the text name Image1 will be added (For this I think defining layer name would be better so I will gave "Imagetext").

 

Then the image will be saved on a specific location on my desktop.

 

I have all this plan on what I want to do but I don't know how to write the script using photoshop API and my limited javascript coding.

 

So if you guys could help me out with this, that would be awesome. Hope to hear on this soon.

 

Kind Regards,

 

Zoogle


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>