@OneEyedJack, I'm going to send you a DM.
In the meantime, is there anyone with an Mx processor that is successfully using Version 7.0 of this macro with Sonoma? If so, please reply here. Thank you!
@OneEyedJack, I'm going to send you a DM.
In the meantime, is there anyone with an Mx processor that is successfully using Version 7.0 of this macro with Sonoma? If so, please reply here. Thank you!
This used to work for me but now that I am on Sonoma on Apple Silicon (M2), it does not. I have found no way to programmatically set an Airplay destination on macOS.
Hi, @BobM, thanks for reporting issue. It's interesting as I now have a MacBook Pro with M1 Max chip and the macro continues to work as expected for me.
Maybe this issue could be addressed with some focused testing. If you (and/or @OneEyedJack) have some time I'd be willing to work via DM's and send test versions of the macro. I'll have some time for troubleshooting this weekend.
Sure thing. Just let me know.
same here
I've send a DM to both of you. Thanks!
I've updated the OP with Version 7.1 of Set Sound Output:
In one of the If Then Else actions "Sound" was hardcoded. This has been changed to local_Pane to properly accommodate the macro localization.
For some unknown reason, with Sonoma 14.2.1 (23C71), the gui hierarchy can differ on some some macs; the AppleScript within this macro now accommodates both. For more information, see: Why would UI scripting vary on two Macs with the same version of macOS? - AppleScript - Late Night Software Ltd. Thanks to @OneEyedJack for reporting the issue and helping test the revised AppleScript.
For all of the AppleScripts, to improve performance, changed fixed delays to 'repeat until exists'.
For Ventura and Sonoma AppleScripts, changed 'starts with' to "is' when checking for a matching Sound Output.
I have to let my M1 Macbook on macOS 14.5 sleep and wake to fully test this , but it worked find with a manual run. I added a wake trigger to the generated macro that select my airplay speakers, which disconnect every time my Mac goes to sleep.
Do you have a tip jar anywhere to accept donations?
Hi, @majorgear. Glad the macro is working well for you. Thanks for sharing the information regarding the trigger you added. That’s likely to help someone else.
No tip jar, but that’s a nice gesture. Keyboard Maestro has been such a blessing to me as I formerly suffered from ergo pain due to mouse overuse; KM allows users like me to do so much more with just the keyboard.
Also I’ve learned so much from many on this forum. It’s nice to return a little bit through my contributions.