Created
December 7, 2020 10:00
-
-
Save clearxlate/6aa612f64c2c660218e9c6962dcd9ca6 to your computer and use it in GitHub Desktop.
applescript to switch target display mode on headful imac
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
#!/bin/bash | |
osascript -e 'tell application "System Events" to key code 144 using command down delay' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The first time (or two) I had to allow it from the console, but after that works via ssh.