Copy link to clipboard
Copied
Hi friends,
I am in the process of creating multiple designs from a template. I want to automate the whole process as there are around 7000 designs I need to create from the main template. I checked the Creating data-driven graphics in Photoshop article but it creates without resizing (the variable here is text so the "Pixel Replacement" option is not there). And I dont want to open all the files for resizing them. Any workaround for this?
Thanks,
Rajesh
1 Correct answer
I have uploaded a .zip archive:
https://www.dropbox.com/s/bejqr2p2g3rdrk2/ps-variable-demo.zip
Contents:
* dataset.csv = simple test data source file
* demo-test.psd = Photoshop file for test export
* Resize layer to 2277px.jsx = Script to resize targeted layer content to 2277px wide
* Variable-Resize-Demo.atn = Action file that references the script with other steps
There are also two folders:
* Export to Datasets = Original export of data sets x2 .psd files
* Action Output = Batch action output resize
...Explore related tutorials & articles
Copy link to clipboard
Copied
Yes merry Christmas it not here yet but you a head of us. SO MERRY Christmas
Copy link to clipboard
Copied
Merry Christmas to all
Stephen_A_Marsh thanks for the help, its working as expected. I am again going through the thread and trying to consume the details. I will hit this thread again once I get blocked again.
Copy link to clipboard
Copied
Glad to be of help, do post back if you get stuck. Although actions are the simplest form of automation, they are not always easy.
Copy link to clipboard
Copied
Stephen_A_Marsh in the step of deleting the scripts action, I am stuck on creating new one. When I click "create new action" the action is created as a separate action as shown below:
Copy link to clipboard
Copied
You clicked on the create new Action icon in the action palette. What you needed to do was to ddelete his script step then click the record icon to record your script step that would run the script you programmed. them click the stop record icon...
The action Palette is a full function action editor.
An action would not be able to change a text leyers width to match the canvas width without knowing both of their current size.. A script would not have a problem doing that.
Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
Contains
- Action Actions Palette Tips.txt
- Action Creation Guidelines.txt
- Action Dealing with Image Size.txt
- Action Enhanced via Scripted Photoshop Functions.txt
- CraftedActions.atn Sample Action set includes an example Watermarking action
- Sample Actions.txt Photoshop CraftedActions set saved as a text file.
- More then a dozen Scripts for use in actions
Copy link to clipboard
Copied
STEP 2 - EDIT THE ACTION:
1) As the action has the install location of the script on my system, you will need to delete the action step “Scripts” and insert the script into the action using your scripts installed location.
After dragging the ”scripts” action step to the trash icon in the actions window, use the actions window’s options menu to “insert menu item”, then select the file menu/scripts/Resize layer to 2277px
Ensure that the script steps appear in the same order as the image in my previous post.
After deleting the script step recorded on my machine, you need to then use the menu on the top right of the action palette and *insert menu item*, then go to the file menu, scripts, resize layer to 2277px and you should then have the script inserted into the action using your installed script path. Ensure that you drag the script to the appropriate position in the action steps.
Copy link to clipboard
Copied
Is this what you are looking for? I have batch automated the resizing of the text width and positioning of the text relative to the yellow bar graphic…
I am getting the feeling that there are more unknowns/undisclosed issues than I originally expected! :]
I am hoping that you don’t wish to distort the text of the 21 character version to fit the same height/space as the 7 character version…


-
- 1
- 2