: Adding replaceable text to Smart Objects I've started to use Smart Objects because you only have to edit them once to modify all instances of the object. I have run into a problem though.
I've started to use Smart Objects because you only have to edit them once to modify all instances of the object. I have run into a problem though. I want to add replaceable text to a Smart Object so that individual instances of this object can set their own text. It reminds me of how PowerPoint's slide masters work: the general layout is set globally, but the content can be modified on the slide itself.
Is this possible using Smart Objects? If not, is there a better way to do it? Here's a screenshot that illustrates my current situation.
I want to be able to edit certain parts of these objects so that I can make something like this with one Smart Object:
More posts by @Sent7350415
2 Comments
Sorted by latest first Latest Oldest Best
I'd almost certainly use Joonas's approach for something like this, unless you have only a handful of cards. There is a different approach that you might find simpler, however: use the Smart Object only for your slide/card background and set the type on other layers.
In CS6, you don't have the option to link an external Smart Object to your file (which would be the simplest way to do this, based on what you're describing), but you can use Layer Comps within a single PSD.
Set up your Smart Object array and add the first set of text layers, then save that as a Layer Comp. Hide the text layer(s), do the next set and save that Layer Comp. (You'll have to update the comps as you go, because they'll show anxious yellow triangles when you add new layers that weren't in the comp.)
Once you have everything set, export the lot with File > Scripts > Layer Comps to Files..., in whatever format works best for you.
Photoshop does have Data sets. They can do something like what you want, but it has always been a bit weird in the sense that you can only export files .psd. You can of course convert them to other formats, but it's still odd that you can't export to other format straight away.
You can do this following without an external file, but I'm going to explain the external file method, as it is a bit better.
So here's how:
I'm going to assume this is a business card...
You can make a text file with values separated by commas or tabs, but I prefer to use both.
For example I would make BusinessCard_dataset.txt that looks like this:
The first row contains variable names. All the following rows are data sets.
So essentially I have 3 different text frames/layers that will all get 2 different text content.
Name, Number, Email
He-Man, 000 0000001, He-Man@example.com
Skeletor, 000 0000002, sexy.skeletor@example.com
To begin importing this in, you need to have layers in the document, otherwise the menu item will be greyed out.
From the top menu: Image > Variables > Define...
In the Variables window, you first map layers to variables.
Select appropriate layer
Check Text replacement
In the Name: text input, write variable name corresponding to the name in your text file's first line (Name, Number, Email).
Note that the variable names are case sensitive.
Repeat this to each layer that should have replacement text.
Now from the dropdown list at the top left corner: Define, select Data sets.
Click the Import... button and import in your text file.
If you click on the Preview checkbox, you can click the arrows to preview each dataset to see if that they are correct.
To export these, you can go fro the top menu: File > Export > Data sets as files.... This is pretty self-explanatory
The next part depends on what format you want the files as, but as I would save them in pdf format, I would go to: File > Automate > PDF Presentation. It's pretty self-explanatory as well. Just select all exported dataset ps, select Save- s: Multi-page document and export them as a multi-page pdf with one business card on each page and different details on each one.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.