Sie haben Recht, dass das von Ihnen erwähnte Bild mit einer AppleScript-Aktion verbunden ist, die das MIDI Network Setup- Fenster öffnen soll, aber in Wirklichkeit tut es nichts.
Um dieses Problem zu umgehen, versuchen Sie Folgendes, um das Fenster " MIDI Network Setup" zu öffnen :
tell application "Audio MIDI Setup" to activate tell application "System Events" to tell process "Audio MIDI Setup" (******************Variable declarations for GUI objects*******************) set _W to a reference to (every window whose ¬ description contains "floating window" and ¬ name is not "MIDI Network Setup") set select_all_menu_item to ¬ a reference to menu item "Select All" of ¬ menu 1 of ¬ menu bar item "Edit" of ¬ menu bar 1 set show_midi_studio_menu_item to ¬ a reference to menu item "Show MIDI Studio" of ¬ menu 1 of ¬ menu bar item "Window" of ¬ menu bar 1 set midi_studio_window to a reference to window "MIDI Studio" set midi_studio_toolbar to a reference to toolbar 1 of midi_studio_window set midi_studio_images to a reference to images of ¬ group 1 of ¬ scroll area 1 of ¬ midi_studio_window set show_info_button to a reference to (the first button of ¬ midi_studio_toolbar whose description is "Show Info") (**********************End of variable declarations************************) if not (midi_studio_window exists) then click show_midi_studio_menu_item tell midi_studio_window to perform action "AXRaise" -- bring window to front if the front window is midi_studio_window then tell select_all_menu_item to if it exists then click it --OR: keystroke "a" using command down if the show_info_button is enabled then click the show_info_button click (every button of _W whose subrole is "AXCloseButton") tell window "MIDI Network Setup" to perform action "AXRaise" end if end if end tell
Wenn du Probleme hast, hinterlasse einen Kommentar und ich melde mich bei dir. Andernfalls sollten Sie diese Antwort auswählen, um andere Benutzer darauf aufmerksam zu machen, wenn ähnliche Probleme auftreten.