« Apple Design Resources | トップページ | com.apple.preference.security »

システム環境設定のAnchoを選んで開く

systempreferences:com.apple.preference.security
システム環境設定の指定した開き方

ダウンロード - choose20ancho.scpt.zip

open "x-apple.systempreferences:com.apple.preference.security?XXXXXXXX"

Privacy_LocationServices
Privacy_Contacts
Privacy_Calendars
Privacy_Reminders
Privacy_Photos
Privacy_Camera
Privacy_Microphone
Privacy_SpeechRecognition
Privacy_Accessibility
Privacy_ListenEvent
Privacy_AllFiles
Privacy_DocumentsFolder
Privacy_ScreenCapture
Privacy_Media
Privacy_HomeKit
Privacy_Bluetooth
Privacy_Focus
Privacy_Automation
Privacy_DevTools
Privacy_Diagnostics
Privacy_Advertising
General
FDE
Firewall
Privacy
Advanced

2



set listSecurityAnk to
"Privacy_LocationServices", ¬
"Privacy_Contacts", ¬
"Privacy_Calendars", ¬
"Privacy_Reminders", ¬
"Privacy_Photos", ¬
"Privacy_Camera", ¬
"Privacy_Microphone", ¬
"Privacy_SpeechRecognition", ¬
"Privacy_Accessibility", ¬
"Privacy_ListenEvent", ¬
"Privacy_AllFiles", ¬
"Privacy_DocumentsFolder", ¬
"Privacy_ScreenCapture", ¬
"Privacy_Media", ¬
"Privacy_HomeKit", ¬
"Privacy_Bluetooth", ¬
"Privacy_Focus", ¬
"Privacy_Automation", ¬
"Privacy_DevTools", ¬
"Privacy_Diagnostics", ¬
"Privacy_Advertising", ¬
"General", ¬
"FDE", ¬
"Firewall", ¬
"Privacy", ¬
"Advanced"} as list

set objRespoce to (choose from list listSecurityAnk with title "セキュリティ&プライバシー" with prompt "セキュリティ&プライバシーの項目を開きます" without multiple selections allowed)

set theRespoce to objRespoce as text

set theCommand to ("open \"x-apple.systempreferences:com.apple.preference.security?" & theRespoce & "\"") as text
do shell script theCommand

|

« Apple Design Resources | トップページ | com.apple.preference.security »

TCC」カテゴリの記事

prefPane」カテゴリの記事