Copy link to clipboard
Copied
try {
var allPIs = app.activeDocument.allPageItems;
for(var i=0;i<allPIs.length;i++){
if (allPIs[i].frameFittingOptions.autoFit == true) allPIs[i].frameFittingOptions.autoFit = false;
}
alert("Delete ALL AutoFit Page Items");
} catch (e) {alert(e + ' at line ' + e.line);}
im using INDD CS5.5, and i have a group with 1 text frame and 3 polygons,
when i try to disable autofit to every page item its not working,
but when i ungroup, its worked.
sorry, i figured this one out.
because group contain all other pageitem then just need to use a simple if then to get rid of group.
Copy link to clipboard
Copied
sorry, i figured this one out.
because group contain all other pageitem then just need to use a simple if then to get rid of group.