What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Help: Text layers from .txt file for buisness cards


epezent

New Member
Messages
1
Likes
0
Hey guys,

I read this forum from time to time and have learned a lot here. But now I have a very specific question to ask and I hope someone here knows how to help me.

I have a template for a business card that I created for a company. So imagine I have a background layer which is the card itself, and above that a layer for each string of text on the card (name, title, phone, email). Up until now, I would manually enter all the information using the Type tool to edit each text layer. However, it has become very tedious and I know there has to be a much easier way to do this. I'm looking for a way to automate this process. So far I have created an Excel database of all the employees, and I export each employees information to a .txt file that looks like this:

John Doe
Job Title
123-456-7890
123-456-7890
john.doe@company.com


Each line in the .txt file corresponds to a text layer on the .psd. I've tried following a tutorial from the web (kirupa.com - Photoshop Scripting) but he is creating them in batches which is not what I need to do. And quite frankly, it's a bit over my head. I know scripting must be the way, but unfortunately I don't know much about JavaScript or any other language for that matter.

I know it's a lot to ask for, but if anyone could show me how to write a simple script for this or point me in the right direction, it would be much appreciated. And I mean MUCH!
 
There are such things like variables and data sets in Photoshop, doing just what you want. Including importing data from external text or Excel files. Refer to Help, there's nothing complex about it.
 


Write your reply...

Back
Top