Created
April 12, 2023 03:29
-
-
Save salexkidd/04d01112462fb66c6da5019d1379cdb4 to your computer and use it in GitHub Desktop.
Minimize Discord window when zoom lunched
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
repeat | |
delay 1 | |
tell application "Finder" | |
name of every process whose visible is true and name is "Zoom.us" | |
if the result as Unicode text is "Zoom.us" as Unicode text then | |
tell application "System Events" to set visible of process "Discord" to false | |
end if | |
end tell | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment