Skip to content

Instantly share code, notes, and snippets.

@Zillionx
Last active August 29, 2015 14:06
Show Gist options
  • Save Zillionx/dc1880e367b2b997611b to your computer and use it in GitHub Desktop.
Save Zillionx/dc1880e367b2b997611b to your computer and use it in GitHub Desktop.
Terminal Color Changing via AppleScript
tell application "Terminal"
activate
do script "ssh -2 [email protected]"
-- write user's password
-- write some linux commands to remote server
-- set window
set background color of first window to "black"
set cursor color of first window to "white"
set normal text color of first window to "white"
set bold text color of first window to "yellow"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment