Skip to content

Instantly share code, notes, and snippets.

@jplana
Created April 9, 2012 13:10
Show Gist options
  • Save jplana/2343293 to your computer and use it in GitHub Desktop.
Save jplana/2343293 to your computer and use it in GitHub Desktop.
AppleScript to send xmpp message to contact from command line using Adium
#!/usr/bin/env osascript
on run argv
set contactName to item 1 of argv
tell application "Adium" to send chat contactName message item 2 of argv
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment