PhotoshopForums.com Home
Navigate Contact FAQ Search Members
Text Layer Manipulation
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> Actions and Automation
 See a User Guidelines violation? Please contact us.
Author Message

RagnaroktA

Joined: 17 Apr 2013
Posts: 1



PostPosted: Wed Apr 17, 2013 1:31 pm    Post subject: Text Layer Manipulation Reply with quote

So I'm using Photoshop CS6 and I'm lookig to write a script that will size the text that is imported from a data set (csv) to fit a text layer, and scale it down until all of the text fits in the layer. Seems simple enough, but I haven't been able to get it working. My thoughts on how it will flow:

1) Have the script make an array of all of the text layers (or layers of specific names) and their sizes (width and height).
2) Resize the imported text to fit that specific layer based on the width and height discovered and available in the array. The text cannot be larger than 72px, and should scale down 4px until it fits the text layer. Text wrapping is permitted, I just need it to fit into the layer.
3) Rinse and repeat for the other text layers.

Anyone have any ideas?
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> Actions and Automation All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com