Toggle sidecar or screen mirroring from Control Center in macOS Ventura
source link: https://gist.github.com/stephancasas/a36c81fbc4189f46bc803f388a1985be
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Toggle sidecar or screen mirroring from Control Center in macOS Ventura · GitHub
Instantly share code, notes, and snippets.
confirm works on macOS 14 beta7, nice job!
Author
@tylinux Good to know! Thank you for testing! :)
How do we add this to Alfred (for non-technical people)?
Author
@tonydehnke In an existing or new workflow, choose right-click and choose Action → Run Script. Set Language to /usr/bin/osascript (JavaScript). Copy the content of this gist and paste it into the script editor text box. Apply the changes described in the header instructions, and then click Save to commit the workflow node.
Thanks!
Tested in 13.5.1 and it doesn't work in there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK