We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 315c72a commit d766a95Copy full SHA for d766a95
getFontName.jsx
@@ -0,0 +1,11 @@
1
+var myComp=app.project.activeItem;
2
+if (myComp && myComp instanceof CompItem)
3
+{
4
+ var selLayers=myComp.selectedLayers;
5
+ for (var i=0;i<selLayers.length;i++)
6
+ {
7
+ var curLayer=selLayers[i];
8
+ if (curLayer instanceof TextLayer)
9
+ alert("\""+curLayer.name+"\" font: "+curLayer.property("Source Text").value.font);
10
+ }
11
+}
0 commit comments