前阵子我写了一篇关于使用AppleScript来做到这一点.基本上,请执行以下操作:
tell application "MyApp"
set the bounds of the first window to {x, y, width, height}
end tell
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1298 次 |
| 最近记录: |