Skip to content

Commit 94e3caa

Browse files
author
Ten
authored
Create SetTabStops.jsx
1 parent 7d4c6c9 commit 94e3caa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

SetTabStops.jsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//Sets Illustrator's tab stops in one time.
2+
3+
var tabPos = [30,60,90], tb = new Array(3);
4+
for(var i=0; i<tabPos.length; i++){
5+
tb[i] = new TabStopInfo;
6+
tb[i].position = tabPos[i];
7+
}
8+
app.selection[0].paragraphs[0].tabStops = tb;

0 commit comments

Comments
 (0)