applescript

You are currently browsing articles tagged applescript.

Quicksilver/Adium Hack

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: , , , , , , , ,