【问题标题】:Applescript 10.7:Can’t get anchor "FileVault" of pane id "com.apple.preference.security"Applescript 10.7:无法获取窗格 ID“com.apple.preference.security”的锚点“FileVault”
【发布时间】:2011-09-15 06:09:44
【问题描述】:

我正在尝试使用 Applescript 访问“FileVault”选项卡。有人可以帮帮我吗?

这是我得到错误的地方:

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

【问题讨论】:

    标签: macos applescript osx-lion


    【解决方案1】:

    由于某种原因,锚在内部具有不同的名称:

    告诉应用程序“系统偏好设置”
        获取窗格 ID“com.apple.preference.security”的每个锚点
            --> {anchor "Firewall" of pane id "com.apple.preference.security",
                 窗格 ID“com.apple.preference.security”的锚点“FDE”,
                 窗格 ID“com.apple.preference.security”的锚点“General”,
                 窗格 ID“com.apple.preference.security”} 的锚点“隐私”
    结束告诉

    我怀疑“FileVault”锚是为旧的仅限主目录的 File Vault 加密设置保留的,只有在您仍在使用该方案时才会显示(作为“Legacy FileVault”,iirc?)。

    【讨论】:

    • 如何进一步揭示隐私> 直接从此脚本中的可访问性?
    • @PiyushMathur anchor "Privacy_Assistive".
    • @duskwuff 尝试了辅助功能而不是辅助功能,它对 Mavericks 和 Yosemite 都有效。谢谢大佬。
    猜你喜欢
    • 2017-09-10
    • 2014-04-14
    • 1970-01-01
    • 1970-01-01
    • 2015-10-07
    • 1970-01-01
    • 2021-08-18
    • 2016-01-29
    • 1970-01-01
    相关资源
    最近更新 更多