Skip to content

Commit 37e7fff

Browse files
author
Ten
authored
add one liner.
For InDesign. Select a paragraph that has 2 or more lines. Run it and press horizontal scale to fit one line.
1 parent 7c09900 commit 37e7fff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pressSelectedParagraphTo1line.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var t=app.selection[0];var s=100;while(t.lines.length>1)t.paragraphs[0].horizontalScale=--s;

0 commit comments

Comments
 (0)