Created
December 19, 2022 23:31
-
-
Save raulfunkie/791c0545c92c0a804675500604503e92 to your computer and use it in GitHub Desktop.
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" | |
tell application process "Control Center" | |
click (first menu bar item of menu bar 1 ¬ | |
whose value of attribute "AXIdentifier" is "com.apple.menuextra.user") | |
click (first button of window "Control Center" whose name is "Username") | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment