0
有没有办法使用Apple Script或默认读取获取桌面墙纸更改的当前设置?基本上我想通过查看plist文件知道是否启用了每隔X分钟更换壁纸的选项。使用默认设置读取mac中的桌面墙纸更改值
有没有办法使用Apple Script或默认读取获取桌面墙纸更改的当前设置?基本上我想通过查看plist文件知道是否启用了每隔X分钟更换壁纸的选项。使用默认设置读取mac中的桌面墙纸更改值
请参阅AppleScript字典中Desktop Suite
类System Events
助手应用程序。它包含属性:
picture rotation (integer) : never, using interval, using login, after sleep
例如,如果您有多个监视器处于活动状态,则每个桌面都有单独的值。例如:
tell application "System Events"
get picture rotation of its first desktop
end tell
yes..this把我放在正确的道路上..谢谢。 – Sharath 2010-08-29 08:59:06