alfred-workflows: [Bug]: switch-audio does not on macOS 13 Ventura
Describe the bug
switch-audio workflow is no longer working on macOS 13 Ventura.
Behavior:
The sound
and voice
commands do not return the devices list.
MacOS Version
macOS 13 Ventura
Alfred Version
Alfred 5.0.5
Workflow Name
Switch Audio
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (6 by maintainers)
In development.
I gave up on using AppleScript and decided to do secondary development based on switchaudio-osx.
list airplay device is ok. but switch to airplay not work. I need to find method to do it.
AppleScript documentation was so poor that I had to consider learning Swift to solve it.
@TobiasMende
I will update my home mac to Ventura and have a try.
any updates? this was one of my most used workflows up until Ventura.
I have adapted it locally to work with Mac OS Ventura. I am using
switchaudio-osx
andjq
in order to select and switch the devices without relying on AppleScript and the System Settings.Therefore, my solution is not an easy drop-in, but in case you are interested, my
main.sh
looks like:can be called via ZSH
./main.sh output
(orinput
)Preconditions can be installed via
The actual command for switching then is a ZSH script as well
If that is a path you consider going with the plugin, I am happy to provide a PR.