[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(DTPtechNote:229) Illustrator10 scripting



某MLの答え

tell application "Adobe Illustrator 10"
	tell document 1
		set my_path to make new path item at beginning
		tell my_path
			set entire path to {{class:path point info, anchor:{100.0, 570.0}, left direction:{100.0, 570.0}, point type:corner, right direction:{100.0, 570.0}}, {class:path point info, anchor:{300.0, 570.0}, left direction:{300.0, 570.0}, point type:corner, right direction:{300.0, 570.0}}}
			set stroke color to {class:CMYK color info, black:0.0, cyan:0.0, magenta:100.0, yellow:100.0}
			set stroke width to 0.8
		end tell
	end tell
end tell