r/applescript • u/RouterJockey_12069 • Dec 01 '22
Help with Scripting Monitor Display mode
just upgraded to Ventura over the long holiday weekend. There used to be a hot-key CMD-F1 to move from extended monitor to mirrored that appears to no longer be supported.
I'm new to the world of scripting my Mac, not new to writing code, and wondering if anyone has suggestions on where to go to learn how to write a script that I can then map to a hot-key, gesture, or mouse click to do this for me.
I generally switch back and forth multiple times a day as I join video calls on one screen, move to mirrored mode for the call, and then back to extended after the call.
TIA
- RouterJockey
View all comments
Show parent comment
1
u/xeybog Jan 09 '23
I use this script to connect my display-broken MacBook to an iPad that I use as display for no reason. Script obviously didn't work after Ventura update.
Thanks for you help, it works! Made shortcut for toggling it. But still, when I connect my iPad to a Mac and I don't see what's happening on display and use command, I have to wait a sec and use it again to properly make it work. Anyway. Big thanks!