我正在使用 Sal Soghoian 的 AppleScript 1-2-3 书中的一个方便的 Finder 窗口设置脚本(如下);效果很好,但如果我增加设置的两个窗口中第二个窗口的侧边栏宽度,则对更改没有响应 - 它保持 145;(第一个窗口响应宽度变化)评论?
tell application "Finder"
close every window
-- first window
open folder "Webclients" of folder "Documents" of home
set toolbar visible of the front Finder window to true
set the sidebar width of the front Finder window to 145
set the current view of the front Finder window to column view
set the bounds of the front Finder window to {16, 80, 550, 675}
-- second window
open folder "Documents" of home
set toolbar visible of the front Finder window to true
set the sidebar width of the front Finder window to 145
set the current view of the front Finder window to column view
set the bounds of front Finder window to {560, 80, 1000, 675}
select the last Finder window
end tell