我想在10.9上编程启用对辅助设备的访问。在10.8及更低版本中,我使用以下Applescript来启用辅助设备的访问:if UI elements enabled is falsethenend if在10.9版本中,苹果已经将辅助功能选项移动到系统偏好设置➞安全和隐私➞隐私➞辅助功能Apple没有向开发人员提供任何API来
例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"the person is 5 feet 11 inches tall."feet {} inches tall.".format(list[1], list[1]) #I am aware taking the same index of list will give me 5-