So I finally figured out how to write AppleScripts that hook directly into Quicksilver’s “text clipping” interface. For the longest time I’ve wanted to be able to set away messages from Quicksilver… and now I can:
using terms from application "Quicksilver"
on process text ThisClipping
tell application "Adium"
set my status message to ThisClipping
set my status type to away
end tell
end process text
end using terms from
It may not look like much, but I’m a happy boy. Put that into an AppleScript using Script Editor and save it to ~/Library/Application Support/Quicksilver/Actions. Restart Quicksilver, and you’ll be able to set any text you type in Quicksilver after the “.” command as your Adium away message.
The on process text terms has lots of other uses too. I’m sure I’ll come up with more.
Tags: apple, applescript, code, hacks, macosx, open-source, quicksilver, software, tips-tricks


13 comments
Comments feed for this article
Trackback link
http://chrismetcalf.net/blog/archives/2006/07/25/quicksilveradium-away-message-hack/trackback/
July 23, 2007 at 1:59 am
Pingback from soeren says » Blog Archive » Updating your Adium, Facebook, Skype and Twitter status all at once
October 10, 2007 at 9:56 am
Pingback from apple » Blog Archive » Ask TUAW: Bluetooth, 5.1 Audio, VNC, Adium with QS, and more
June 30, 2008 at 6:25 pm
Pingback from chris » Blog Archive » Adium Status Message
July 8, 2008 at 8:42 pm
Pingback from Adium and Quicksilver
August 1, 2006 at 10:06 pm
Blake
Have you played with the voice recognition much? Even cooler would be to say “Hey pooter, I’m going to lunch” and have it set the appropriate away messages, start any huge downloads you have queued up and periodically login to various work servers so you can say “NO! I was only gone for an hour and I can prove it!”
April 4, 2007 at 9:20 am
Adam
This is a very nice Apple Script. I’ve been looking for a way to do this through QS for a while now, but you did it for me. Thanks a lot, hopefully we’ll see more like this in the future.
June 18, 2007 at 12:51 am
geczvqever
Hello! Good Site! Thanks you! caqfvedwjfoe
July 31, 2007 at 3:56 pm
Rob O
Thanks for the script. I am curious though, how did you get the adium icon to appear in quicksilver like in your screenshot above?
October 19, 2007 at 10:03 am
Sam Jones
Just used this to switch my Tweet script from iChat to Adium, thank you.
January 6, 2008 at 7:18 am
Red
I was wondering if this still works with the new version of adium, 1.2 - I have been attempting to get it to work, but have been unsuccessful. Thanks
January 11, 2008 at 8:34 pm
Nick
This appears to be broken in Adium 1.2 - another unsuccessful attempt.
January 21, 2008 at 2:04 pm
Alex
Hey,
I updated your script for new versions of Adium and Quicksilver.
Check it out at http://blog.ambmediadesign.com/10/adium-and-quicksilver/
July 3, 2008 at 4:26 am
Neonounogma
Hello What do your think about spyware scanning ?