0

To be more precise, how can you select a device from the 'Active devices' (from the devices pop up button) in Xcode's instruments.

screenshot

Script:

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
jweaks
  • 3,674
  • 1
  • 19
  • 32
Eedison
  • 1
  • 1
  • please refer to the image for better understanding of the question – Eedison Oct 26 '15 at 09:33
  • I used the following script:
    tell application "Instruments"
    click menu item "**" 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
    – Eedison Oct 26 '15 at 12:00
  • error: Couldn't find the '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" – Eedison Oct 26 '15 at 12:03

0 Answers0