全てのpath itemの線の太さ調べ、特定の太さの線の線幅を変更します。
tell application "Adobe Illustrator" tell document 1 set pathCount to count path items repeat with pathNum from 1 to pathCount set pathStrokeWidth to stroke width of path item pathNum if 0.6 < pathStrokeWidth and pathStrokeWidth < 0.7 then set stroke width of path item pathNum to 0.283 else if 0.7 < pathStrokeWidth then set stroke width of path item pathNum to pathStrokeWidth / 2 else set stroke width of path item pathNum to 0.283 end if end repeat end tell end tell
コメントする