Eftersom jag nu är en så snäll person så får du ett exempel på hur det görs:
tell application "Adobe Illustrator"
tell document 1
set myPath to make new path item with properties ¬
{closed:true, entire path:{¬
{class:path point info, anchor:{0.0, -100.0}, left direction:{0.0, -100.0}, right direction:{0.0, -100.0}, point type:corner}, ¬
{class:path point info, anchor:{0.0, 0.0}, left direction:{0.0, 0.0}, right direction:{0.0, 0.0}, point type:corner}, ¬
{class:path point info, anchor:{75.0, 0.0}, left direction:{75.0, 0.0}, right direction:{75.0, 0.0}, point type:corner}, ¬
{class:path point info, anchor:{75.0, -100.0}, left direction:{75.0, -100.0}, right direction:{75.0, -100.0}, point type:corner} ¬
} ¬
}
return properties of myPath
end tell
end tell