resize shape depending on text

Dec 19, 2020

Copy link to clipboard

Copied

I am having some trouble figuring this out, and am suspecting it is not possible in Photoshop at the moment. 

 

For a client i typically have to create many lower third titles (still image png's).

 

What i want to do is make a template (excel sheet) for the client to fill out where they can provide a name and a title, then export a CSV which they send to me. Then i could process that file automatically using a Photoshop droplet that reads from this CSV file. <-- so far so good, this part i can do

 

However the client has specific branding rules where they have boxes behind the lines of text that scale along with the text length. Currently i see no way other than manually adjusting these boxes for each title. 

What i really would like photoshop to do, is look at the text input from the csv file, determine where the text ends and adjust the box size (width) to an x amount of pixels past the last character. 

 

Is what i want to do achievable in photoshop? or would i need to look at After Effects for this workflow? 

TOPICS
Actions and scripting, Feature request, How to

Views

55

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

resize shape depending on text

Dec 19, 2020

Copy link to clipboard

Copied

I am having some trouble figuring this out, and am suspecting it is not possible in Photoshop at the moment. 

 

For a client i typically have to create many lower third titles (still image png's).

 

What i want to do is make a template (excel sheet) for the client to fill out where they can provide a name and a title, then export a CSV which they send to me. Then i could process that file automatically using a Photoshop droplet that reads from this CSV file. <-- so far so good, this part i can do

 

However the client has specific branding rules where they have boxes behind the lines of text that scale along with the text length. Currently i see no way other than manually adjusting these boxes for each title. 

What i really would like photoshop to do, is look at the text input from the csv file, determine where the text ends and adjust the box size (width) to an x amount of pixels past the last character. 

 

Is what i want to do achievable in photoshop? or would i need to look at After Effects for this workflow? 

TOPICS
Actions and scripting, Feature request, How to

Views

56

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 19, 2020 0
Most Valuable Participant ,
Dec 19, 2020

Copy link to clipboard

Copied

If you are talking about a text layer and a shape layer. Where the text  area is smaller then the shape area and the text is centered over the shape. You could most like write a Photoshop that would resize the shaped bounds to be some percent larger then the changed text layers bounds and then center the text over over the resized shape.  The Shape Layer Aspect Ratio will vary so the way the shape layer looks will vary.

JJMack

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2020 0
Dec 19, 2020

Copy link to clipboard

Copied

Thanks, indeed a text and shap layer. however the shape bounds need to be sizing from a certain anchor point. I managed to get the workflow that i want in Indesign 🙂 good thing Adobe has more than one piece of software.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2020 0
JJMack LATEST
Most Valuable Participant ,
Dec 19, 2020

Copy link to clipboard

Copied

With a script you can align a layer to a point as well as resize the layer. If you know the point. You would select the pixel. the align the layer vertical and horizontal center to that selection. You would most likely align the  text layer also to that point,  because you sized the shape layer size to be relative to the text layers bounds.

JJMack

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2020 0
Adobe Community Professional ,
Dec 19, 2020

Copy link to clipboard

Copied

That can all be done fairly easily with a script.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2020 0