AI テキストを行ごとに分割

スクリプトエディタで開く


ai01

これを

ai02

こうします。

tell document 1 of application "Adobe Illustrator"
copy properties of selection to {contents:a0, geometric bounds:{a9, a4, a5, a6}}
repeat with a2 in paragraphs of a0
make new text frame of layer 1 with properties {anchor:{a9, a4}, contents:a2}
set a4 to a410
end repeat
delete selection
end tell