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

(DTPtechNote:1749) Re: Illustratorのオブジェクト情報



連続投稿すいません
javascript にatan2ありました。

tell application "Adobe Illustrator"
	set theMatrix to matrix of selection of document 1
	set theRad to do javascript "Math.atan2(" & mvalue_c of theMatrix & "," & mvalue_a of theMatrix & ");"
	set theAngle to theRad * 180 / pi
end tell