Applescript 10.7: не удается получить привязку «FileVault» идентификатора панели «com.apple.preference.security» - PullRequest
1 голос
/ 15 сентября 2011

Я пытаюсь получить доступ к вкладке «FileVault» с помощью Applescript. Кто-нибудь может мне помочь?

Здесь я получаю сообщение об ошибке:

reveal anchor "FileVault" of pane id "com.apple.preference.security"

1 Ответ

2 голосов
/ 15 сентября 2011

По какой-то причине у якоря внутренне другое имя:

tell application "System Preferences"
    get every anchor of pane id "com.apple.preference.security"
        --> {anchor "Firewall" of pane id "com.apple.preference.security",
             <b>anchor "FDE" of pane id "com.apple.preference.security",</b>
             anchor "General" of pane id "com.apple.preference.security",
             anchor "Privacy" of pane id "com.apple.preference.security"}
end tell

Я подозреваю, что якорь "FileVault" был зарезервирован для старых настроек шифрования хранилища файлов только для домашнего каталога, которые отображаются (как "Legacy FileVault", iirc?), Если вы все еще используете эту схему.

...