Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: How do I find the font for a specific character in a textItem?

$
0
0

Last question. I have this nested in a for loop, that grabs layers from a predetermined LayerSet. From there I'm incrementing the loop to address the next layer, which is working for text contents, layer names etc, and to prevent errors it's all wrapped in:

if(textLayer[n].kind == LayerKind.TEXT) {

}

 

Question being, where would I add 'n' in order for this action info to work with my loop. I saw where the m is on the loop for each character, and there are a few spots that would seem to make, as the script is highlighting what I've got selected, but I figured I'd ask if you knew at least where I should focus my efforts to revise.

 

Thanks.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>