Created
August 23, 2021 13:49
-
-
Save fullkomnun/e797a92161ce1557c6c3a6f838047c4d to your computer and use it in GitHub Desktop.
Restart iriun webcam + zoom
This file contains 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
set zoomAppName to "zoom.us" | |
tell application zoomAppName to quit | |
repeat | |
tell application "System Events" | |
if zoomAppName is not in (name of application processes) then exit repeat | |
end tell | |
do shell script "sleep 0.5" | |
end repeat | |
set iriunAppName to "IriunWebcam" | |
tell application iriunAppName to quit | |
repeat | |
tell application "System Events" | |
if iriunAppName is not in (name of application processes) then exit repeat | |
end tell | |
do shell script "sleep 0.5" | |
end repeat | |
tell application iriunAppName to launch | |
tell application zoomAppName to launch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment