Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Find text Tint Value

$
0
0

Hi All,

 

I need to check whether any character have opacity.  I tried the following codings, but it shows all characters as error.

 

var myframe = app.activeDocument.textFrames; 
for(i=0; i<myframe.length; i++) 
{     var myCharacters = myframe[i].characters;     for(j=0; j<myCharacters.length; j++)     {          if(myCharacters[j].opacity != 100)          {              alert("Error: Check some text has opacity")              }         }     } 

 

Regards,

Karthi


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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