标签: ios xcode6 applescript xcode-instruments
更准确地说,如何从Xcode乐器中的“有源设备”(从设备弹出按钮)中选择设备。
screenshot
脚本:
tell application "Instruments" click menu item "<Device name>" of menu 1 of menu item "Active Devices" of menu 1 of pop up button 1 of list 1 of group 1 of toolbar 1 of window "Instruments" end tell