Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Apply [None] Color in TextFrame contents

$
0
0

Hi all,

Is it possible to apply [None] Swatch/Color to a TextFrame contents ?

 

I currently use this:

 

var vNoneColor = app.swatches.itemByName("None");

for (var iText=0; iText < vTextFrame.texts.length ; iText++)

{

        var vText = vTextFrame.texts.item(iText);

        alert(vText.contents);

        vText.fillColor = vNoneColor

 

}

 

 

or maybe create my own Color but it's not possible to change transparency.

 

Thanks.

Regards,

Pierre RAFFA.


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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