Created
April 4, 2023 06:13
-
-
Save SKaplanOfficial/55e2c0d0cebb928124aa4b23ec14df70 to your computer and use it in GitHub Desktop.
AppleScript script to toggle stage manager in MacOS Ventura.
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
tell application "System Events" | |
set theProcess to first application process whose name is "ControlCenter" | |
click menu bar item 2 of menu bar 1 of theProcess | |
perform action 1 of button 1 of group 1 of window 1 of theProcess | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment