Skip to content

Instantly share code, notes, and snippets.

@bill-transue
Created November 30, 2012 20:31
Show Gist options
  • Select an option

  • Save bill-transue/4178399 to your computer and use it in GitHub Desktop.

Select an option

Save bill-transue/4178399 to your computer and use it in GitHub Desktop.
if application "Messages" is running then
tell application "Messages"
log in service "transue@gmail.com"
set status of service "transue@gmail.com" to available
set status message to "%Track - %Artist"
end tell
end if
if application "Messages" is running then
tell application "Messages"
log out
end tell
end if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment