This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "iTunes" to activate | |
tell application "System Events" | |
tell window "iTunes" of process "iTunes" | |
click (first UI element whose help is "Choose which speakers to use.") | |
end tell | |
end tell |
Once the menu is active, you can use the arrow keys to navigate up and down, and return to select a given speaker. This allows you to tell iTunes to control a Homepod or other AirPlay 2 speaker from the keyboard.
Unfortunately there is no way I can find to automatically select a specific speaker – you have to manually do it with the arrow keys.
🌟 Was this page helpful? Please let me know with this quick, 3 question survey.