app.doScript(function(){
app.scriptPreferences.measurementUnit=2054188905;
f=app.selection[0],s=f.parentStory,p=s.storyPreferences,A=0.70866141732283,B="lineAki";
if(p.frameType==1179087984 && p.storyOrientation==1986359924)
v=f.visibleBounds,b=f.textFramePreferences.insetSpacing,g=s.gridData,w=(100/f.absoluteHorizontalScale*(v[3]-v[1])-f.strokeWeight*2-b[1]-b[3]),u=g.pointSize*g.horizontalScale/100,t=g[B],n=(w+t)/(u+t),g[B]=(w-u*(n-1))/(n-2),f.visibleBounds=v
},1246973031,[],1699963733);// #dtp
app.doScript(function(){
app.scriptPreferences.measurementUnit=2054188905;
f=app.selection[0],s=f.parentStory,p=s.storyPreferences,A=0.70866141732283,B="lineAki";
if(p.frameType==1179087984 && p.storyOrientation==1986359924)
v=f.visibleBounds,b=f.textFramePreferences.insetSpacing,g=s.gridData,w=(100/f.absoluteHorizontalScale*(v[3]-v[1])-f.strokeWeight*2-b[1]-b[3]),u=g.pointSize*g.horizontalScale/100,t=g[B],n=(w+t)/(u+t),g[B]=(w-u*(n+1))/n,f.visibleBounds=v
},1246973031,[],1699963733);// #dtp