Skip to content

Instantly share code, notes, and snippets.

@TBD
Created June 15, 2011 22:47
Show Gist options
  • Save TBD/1028310 to your computer and use it in GitHub Desktop.
Save TBD/1028310 to your computer and use it in GitHub Desktop.
open Adium from Albert
steps:
1) open Apple Script Editor
2) paste and save:
on run argv
tell application "Adium"
activate
try
set usr to first contact whose display name contains (item 1 of argv)
set nme to name of usr
tell account of usr to set theChat to make new chat with contacts {contact nme} with new chat window
on error
display dialog "cannot find user"
end try
end tell
end run
3) add in Terminal/Shell of Albert command osascript path/to/previous/saved/step/2 {query}
4) check Silent
TBD
@tbdr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment