【发布时间】:2011-06-27 22:09:09
【问题描述】:
我正在尝试让 applescript 调整大小和移动 Flash Builder 的窗口,但我一直收到错误消息有人知道如何让 Eclipse 或 Flash Builder 与 applescript 很好地配合使用吗?
例如:
tell application "Adobe Flash Builder 4.5"
activate
set the bounds of the first window to {-1680, 650, 0, 1050}
end tell
返回此错误:
tell application "Adobe Flash Builder 4.5"
activate
set bounds of window 1 to {-1680, 650, 0, 1050}
--> error number -1708
Result:
error "Adobe Flash Builder 4.5 got an error: Can’t set bounds of window 1 to {-1680, 650, 0, 1050}." number -10006 from bounds of window 1
或者也许有办法在 bash 中做到这一点? :)
【问题讨论】:
标签: eclipse bash eclipse-plugin applescript flash-builder