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

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support