【发布时间】:2016-04-29 04:58:07
【问题描述】:
我最近未对 El Capitan 进行分级,Finder 对新窗口的大小和位置的想法让我抓狂。
所以,我想写一个applescript,它会保留窗口的左坐标,将顶部设置为尽可能高,并将宽度和高度设置为特定值。
我可以得到界限:
tell application "Finder"
set theBounds to bounds of front window
end tell
但如果我要求 left of theBounds 我会收到错误消息。
Applescript 确实提供了一种解压bounds 的方法?
【问题讨论】:
标签: applescript bounds