【发布时间】:2014-01-29 02:49:59
【问题描述】:
我是 AppleScripting Adobe Illustrator CS3。这是(部分)我的代码:
tell application "Adobe Illustrator"
tell newDocument
make new rectangle with properties {bounds:{200.0, 400.0, 300.0, 200.0}}
end tell
end tell
我从 Adobe 的网站上复制了 this 第 153 页上的 make new rectangle 部分。
但是bounds 是什么???当我运行脚本时,它们与矩形的坐标不匹配:
如何将坐标转换为边界?我的画布大小是1920 1080。
【问题讨论】:
标签: macos applescript coordinates adobe-illustrator bounds