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

Stumped... Multiple textFrame Contents

$
0
0

Oh... help would be so greatly appreciated as, I am truly stumped!


Selecting two (or more) text frames manually, how can one go about looping through and changing the properties of all the type contained in each of the frames? I'm only using the "with" statement so, any additional properties added will be easy to find and read.

 

var mySel = app.selection[0].contents;

 

     for (i=0; i<mySel.length; i++) {

          with (mySel){

               horizontalScale = 200;

               kerningMethod = "Optical";

          }

     }

 

Thanks again for any help!


Viewing all articles
Browse latest Browse all 15932

Latest Images

Trending Articles



Latest Images

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