Scripting sample: Adding Background and Title from Excel


Status
Not open for further replies.

reno77

New Member
Jan 30, 2002
921
0
0
Bedok Reservoir
www.ramaraj.com
#1
Hi, a friend of mine was asking if its possible to do this automatically

1) Add a image layer to a background layer
2) Add a variable text title on the top of this document, the position of the text is not the same for all pictures, so the user should be able to define where the text goes.
3) Save the output automatically as a jpeg
4) Loop thru 1-3 for all the required text titles

So I searched thru some tutorials on the net last night and came up with this. Its my first PS script so quite basic. It,

1) Reads a csv file for the background image , Title , Title's X position, Title's Y position and name of image to be used as the main image.

2) Combines these to a jpg file.

Limitations :

1. The pics to be used and the excel file have to be in c:\test_pics
2. The pics to be used should already be resized.
3. The Pics to be used are named pic1.jpg, pic2.jpg etc..
4. Output file size is fixed at 840x630.

Run the script from Photoshop, File->Scripts->Browse. The completed pics are saved in c:\test_pics\done

Here's the file upload..

http://upload2.net/page/download/xAezth4zbN0OO2q/test_pics.zip.html

Many thanx to the script in this thread..which I copied alot from
http://www.ps-scripts.com/bb/viewtopic.php?p=4550&sid=75ecad62a3fa783c19aa795ad122d2f0
 

Status
Not open for further replies.
Top Bottom