#!/usr/bin/osascriptĭo shell script "if ls /dev/cu.usbmodem* &> /dev/null then PORTS=$(ls /dev/cu.usbmodem*) echo videoON>$PORTS fi" Set returnValue to "□ | color=red | symbolize=True"ĭo shell script "if ls /dev/cu.usbmodem* &> /dev/null then PORTS=$(ls /dev/cu.usbmodem*) echo audioOFF>$PORTS fi" If exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) thenĭo shell script "if ls /dev/cu.usbmodem* &> /dev/null then PORTS=$(ls /dev/cu.usbmodem*) echo audioON>$PORTS fi" If exists (menu bar item "Meeting" of menu bar 1) then In that folder, add the following 2 AppleScript files. On the first launch it will ask for the folder where you will save the scripts, so choose where you l like (I chose Documents/Swiftabar). This Zoom Mute Button offers a simple and (almost) no-code solution to that problem by utliizing SwiftBar and AppleScripts to constantly scrape the menu bar items on the Mac OS and keep track of the mute/video status. Most similar devices only do 1, which is a bummer because the device itself does not keep track of the actual status on the Zoom Client app, therefore not able to have any visual indicators for the status. Scrape the mute/video status from Mac OS and reflect it on to the device LED lights. ![]() Send Zoom shortcut keys to the Zoom Client app to toggle mute/video status.Technically, the Zoom Mute Button does the following 2 things: (Apologies to Windows users: this instructable only supports Mac OS at the moment!) Here's one of the very few bidirectional, opensource physical mute buttons. We see so many of these physical mute buttons on the internet now, but most are either just triggering keyboard shortcuts or crowdfunding on Kickstarter. It will work even if you click the mute button from the app, or the host mutes you, etc. This Zoom mute button not only toggles your mute/video status on Zoom, but is also bidirectional, meaning it syncs with the status on the Zoom app. ![]() Sure, the Zoom UI is far from perfect, but as makers, we should be solving our own problems ourselves instead of blaming it on tech companies: so here it is, a DIY Bidirectional Zoom Mute Button. We're spending the majority of our time on Zoom today, and yet we still keep forgetting to mute/unmute and embarrassing ourselves.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |