Fit Frame to Content Multiple Images?


i've got document same tiny image linked thousands of times (check marks within tables), need "fit frame content" them @ once. possible? (indesign cs6 w/ mac)

seems might want this:

 

var garray = app.activedocument.allgraphics;

var ngraphics = garray.length;

for (var ix = 0; ix < ngraphics; ix++) {

          var graphic = garray[ix];

          if (graphic.itemlink.isvalid && graphic.itemlink.name == "checkmark.tif") {

                    graphic.parent.fit(fitoptions.frametocontent);

          }

}

 

cheers,



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Thread: poor font display

Remove survey pop up - Joomla! Forum - community, help and support

Error when I try to record application simulation in Adobe Presenter 8