Skip to content

Instantly share code, notes, and snippets.

@AaronRutley
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AaronRutley/ab38d5dae78c1716e677 to your computer and use it in GitHub Desktop.
Save AaronRutley/ab38d5dae78c1716e677 to your computer and use it in GitHub Desktop.
start.sh
# start.sh
osascript -e 'tell application "System Events" to key code 144 using command down'
echo "--- Target Display Mode Started......."
blueutil off
echo "--- iMac Bluetooth off..."
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment