AppleScript的10.7:无法获得锚QUOT; FileVault的" 。窗格ID&QUOT的; com.apple preference.security" [英] Applescript 10.7:Can’t get anchor "FileVault" of pane id "com.apple.preference.security"
本文介绍了AppleScript的10.7:无法获得锚QUOT; FileVault的" 。窗格ID&QUOT的; com.apple preference.security"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试了FileVault的标签使用AppleScript访问。有人可以帮我吗?
这是我收到的错误:
显示锚窗格IDcom.apple。preference.security的FileVault的
解决方案
由于某些原因,锚具有不同的名称在内部:
告诉应用程序系统preferences
得到窗格IDpreference.security com.apple的每一个主播
- >窗格ID。com.apple preference.security的主播{防火墙,
窗格中的id主播FDEcom.apple。preference.security,
锚窗格ID的常规com.apple。preference.security
锚窗格IDpreference.security com.apple的隐私}
最终告诉
我怀疑是FileVault的锚保留给老家的目录,只有当你还在使用该计划文件库的加密设置,只显示(如旧FileVault的,IIRC?)。
I am trying to access the "FileVault" Tab using Applescript. Can someone help me out?
This is where I am getting the error:
reveal anchor "FileVault" of pane id "com.apple.preference.security"
解决方案
For some reason, the anchor has a different name internally:
tell application "System Preferences" get every anchor of pane id "com.apple.preference.security" --> {anchor "Firewall" of pane id "com.apple.preference.security", anchor "FDE" of pane id "com.apple.preference.security", anchor "General" of pane id "com.apple.preference.security", anchor "Privacy" of pane id "com.apple.preference.security"} end tell
I suspect that the "FileVault" anchor was reserved for the old home-directory-only File Vault encryption settings, which only show up (as "Legacy FileVault", iirc?) if you're still using that scheme.
这篇关于AppleScript的10.7:无法获得锚QUOT; FileVault的" 。窗格ID&QUOT的; com.apple preference.security"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文