更新时间:2023-12-03 20:01:04
沙盒应用程序中的Apple事件通常由Apple脚本。有这里需要的权利的文档:
Apple Events from sandboxed apps is typically done with Apple Script. There is documentation for the entitlement needed here:
要查找哪个应用提供了访问组,这是一个麻烦,许多可用。使用terminal和 sdef
找出。这将为您提供一个XML,您可以在控制台中阅读并查找access-group
To find which app provides access groups is a bit of a hassle and there aren't many available. Use terminal and sdef
to find out. this will give you an XML which you can read and look for access-group
:
sdef /Applications/Mail.app > mail.sdef.xml
open mail.sdef.xml
<access-group identifier="com.apple.mail.compose" access="rw"/>