【发布时间】:2015-03-20 08:52:13
【问题描述】:
我正在尝试在重复循环中更改 Finder 的背景颜色。
tell application "Finder"
set windowCount to (count windows)
if windowCount > 0 then #check if windows are available
set bgcolor to {65535, 0, 32896}
repeat 10 times
tell the icon view options of window 1
set the background color to {some item of bgcolor, some item of bgcolor, some item of bgcolor}
delay 0.1
end tell
end repeat
end if
end tell
我知道我在这里遗漏了一些简单的东西。我让它在其他环境中工作(在循环之外)......
【问题讨论】:
标签: macos applescript finder