我尝试创建一个Applescript来启用“高级..”中的"Web代理“和”安全Web代理“选项。系统偏好设置中的“网络”设置菜单。tell application "System Preferences"set current pane to pane "com.apple.preference.network"tell application process "System
be used on value of Protocol typeSessionService; use a generic constraint insteadprotocol NetworkServicevar sessionService: SessionServiceBase = CustomSessionService() var networkService: NetworkService?init(networkService: