I wrote a new Touch Bar AppleScript widget to show me the Mute/Unmute status of a Zoom conference, no matter what app is in the foreground. When I press the widget button, Zoom is brought to the front and the Mute/Unmute is toggled.
I have the AppleScript running once every 30 seconds, to save battery and CPU usage. It would be fine, unless I hit the mute button and have to wait 20+seconds for it to automate.
Is it possible to have an action in an AppleScript widget manually force that AppleScript to run? It would be a great last action to have when the button is touched!