Created
June 15, 2011 22:47
-
-
Save TBD/1028310 to your computer and use it in GitHub Desktop.
open Adium from Albert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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