Set audio volume (mute) for a specific output (MBP speakers)..also can be triggered by BT connect?

Hi guys

so i'm trying to find a quick way to auto mute my MBP speakers.
i see KM has a set system output but that seems to set the output for all available audio outputs at once. What i want specifically is to set the output name macbook pro speaker to 0 (mute). Is there a way to do so in KM? if not is it possible via applescript?

also would be cool to trigger this with a specific BT headphone connection though i couldn’t find any KM BT connect trigger, is that even possible?

best

Z

anyone?

bump? I would also be very happy for an apple script that does this if anyone can point me to an apple script that can control individual volume outputs?

thx a lot

Z