Last active
January 18, 2021 20:58
-
-
Save nitram509/ab29acff368706cd47642a59e498d07c to your computer and use it in GitHub Desktop.
Scripts to mute and unmute the microphone in the current meeting, as well as start and stop the video feed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
tell application "System Events" | |
tell application process "zoom.us" | |
if menu item "Mute Audio" of menu "Meeting" of menu bar 1 exists then | |
set mnu to menu item "Mute Audio" of menu "Meeting" of menu bar 1 | |
click mnu | |
return | |
end if | |
end tell | |
end tell | |
end run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
tell application "System Events" | |
tell application process "zoom.us" | |
if menu item "Start Video" of menu "Meeting" of menu bar 1 exists then | |
set mnu to menu item "Start Video" of menu "Meeting" of menu bar 1 | |
click mnu | |
return | |
end if | |
end tell | |
end tell | |
end run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
tell application "System Events" | |
tell application process "zoom.us" | |
if menu item "Stop Video" of menu "Meeting" of menu bar 1 exists then | |
set mnu to menu item "Stop Video" of menu "Meeting" of menu bar 1 | |
click mnu | |
return | |
end if | |
end tell | |
end tell | |
end run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
tell application "System Events" | |
tell application process "zoom.us" | |
if menu item "Unmute Audio" of menu "Meeting" of menu bar 1 exists then | |
set mnu to menu item "Unmute Audio" of menu "Meeting" of menu bar 1 | |
click mnu | |
return | |
end if | |
end tell | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment