Sample Header Ad - 728x90

How to open submenu item in a menu bar item (Through Terminal) - Xcode Macbook

0 votes
1 answer
170 views
So right now I have... osascript \ -e 'tell application "System Events" to ¬' \ -e 'tell process "Xcode" to ¬' \ -e 'click menu bar item "Product" of menu bar 1' I want to be able to open the submenu item in that menu bar item, but I can't figure it out, and I am trying to do it through Macbook Terminal. The specififc submenu item is "Run" which is under product on xcode project:
Asked by Micah McDuffie (1 rep)
Jan 21, 2023, 07:37 AM
Last activity: Jun 13, 2025, 04:02 PM