From d06784958d73159b5e4abafe5114804662114ed7 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 9 Jul 2026 22:15:53 -0400 Subject: move ubersicht modules in tree --- .../lib/scripts/zoom-video-status.applescript | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-video-status.applescript (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-video-status.applescript') diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-video-status.applescript b/users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-video-status.applescript new file mode 100755 index 0000000..367821f --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-video-status.applescript @@ -0,0 +1,17 @@ +property btnTitle : "Stop video" + +if application "zoom.us" is running then + tell application "System Events" + tell application process "zoom.us" + if exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) then + set returnValue to "on" + else + set returnValue to "off" + end if + end tell + end tell +else + set returnValue to "" +end if + +return returnValue \ No newline at end of file -- cgit v1.3