Skip to content

Instantly share code, notes, and snippets.

@jsulak
Created May 3, 2020 15:32
Show Gist options
  • Save jsulak/de6f5215ac063db8afd3f7c3130ed784 to your computer and use it in GitHub Desktop.
Save jsulak/de6f5215ac063db8afd3f7c3130ed784 to your computer and use it in GitHub Desktop.
Launchd plist for periodically checking zoom mute status
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/usr/local/sbin</string>
</dict>
<key>Label</key>
<string>Periodically check zoom status</string>
<key>LowPriorityIO</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/osascript</string>
<string>/Users/james.sulak/src/zoom_toggle/zoom_audio.applescript</string>
<string>update_bar</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>10</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment