選択アイテムが縦組みフレームグリッドのとき、行間を調整してフレームの横幅を0.25mmほど左に伸ばす
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,g[B]+=A/((100/f.absoluteHorizontalScale*(v[3]-v[1])-f.strokeWeight*2-b[1]-b[3]+g[B])/(g.pointSize*g.horizontalScale/100+g[B])-1);// #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,g[B]+=A/((100/f.absoluteHorizontalScale*(v[3]-v[1])-f.strokeWeight*2-b[1]-b[3]+g[B])/(g.pointSize*g.horizontalScale/100+g[B])-1),f.move("",[A,0]);
},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,g[B]+=A/((100/f.absoluteHorizontalScale*(v[3]-v[1])-f.strokeWeight*2-b[1]-b[3]+g[B])/(g.pointSize*g.horizontalScale/100+g[B])-1),f.move("",[-A,0]);
},1246973031,[],1699963733);// #dtp