Skip to content

Instantly share code, notes, and snippets.

Last active November 9, 2017 12:52
What would you like to do?
Set skype status using command line.
#!/usr/bin/env bash
if [ -z "$STATUS" ] ; then echo "usage $0 [ONLINE|AWAY]" ; exit; fi
(cat <<EOF
tell application "Skype"
send command "SET USERSTATUS ${STATUS}" script name "Set Skype Status"
end tell
) | osascript
# A couple of aliases
# alias skypeaway='~/bin/ AWAY'
# alias skypeback='~/bin/ ONLINE'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment