You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 91ac745
Browse filesBrowse the repository at this point in the historyBrowse files
`tell application "System Events" to tell process "Simulator" to click menu item "${menuItem}" of menu "Orientation" of menu item "Orientation" of menu "Device" of menu bar item "Device" of menu bar 1`,
794
+
'tell application "System Events" to tell process "Simulator"',
795
+
"-e",
796
+
'set simulatorWindows to menu items of menu "Window" of menu bar item "Window" of menu bar 1 whose name starts with simulatorName',
797
+
"-e",
798
+
'if (count of simulatorWindows) is not 1 then error "Expected exactly one Simulator window for " & simulatorName',
799
+
"-e",
800
+
"click item 1 of simulatorWindows",
801
+
"-e",
802
+
`click menu item "${menuItem}" of menu "Orientation" of menu item "Orientation" of menu "Device" of menu bar item "Device" of menu bar 1`,
0 commit comments