AppleScript,操纵单行告诉语句的返回值,仍然在同一行吗?

问题描述 投票:0回答:0
tell application "Finder" to get bounds of window of desktop

返回类似的东西

{0, 0, 1440, 900}

我怎样才能做类似的事情

get item 3 of (tell application "Finder" to get bounds of window of desktop)

还在同一条线上吗?

tell 语句显然返回一个列表,但是当我尝试像访问列表一样访问它时,它不起作用。

list applescript return-value one-liner
© www.soinside.com 2019 - 2024. All rights reserved.