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

I revised this loop someone had created and it works perfectly

function dump(obj) {

    var out = '\n\n//Begin Dump \n';

    for (var i in obj) {

        out += i + ": " + obj[i] + "\n";

    }

        $.write(out)

}

 

This has already helped me identify parts of the object without having to google.

 

Only downside is, I don't think I understand the structure of layers enough to get it to work on every case:

 

Example that breaks altogether::

dump(activeDocument.activeLayer)


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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