Hey there, I am looking to setup a new Trigger using Quicksilver and Applescript to set my Adium Status to Away and back again.
I have looked through these boards and didn’t find anything to help me on this and I’m not really sure where to start. I was hoping that an ‘if’ statement (or similar test) could be used to change my status from Available to Away and vice versa, depending on my current status.
Help?
Not an if statement based on status but might get you started. This is from a modification from the Pomodoro AppleScript http://www.ugolandini.com/
[property myMessage : "Add your availible status message here"
tell application "System Events" to if exists process "Adium" then
tell application "Adium" to go available with message myMessage
end if/applescript]
property myMessage : “Add your away status message here”
tell application “System Events” to if exists process “Adium” then
tell application “Adium” to go away with message myMessage
end if
Also check http://macscripter.net/viewtopic.php?id=21271 for changing status but doesn't include if statement.
This is a very helpful page for AppleScripting individual accounts to log-in http://trac.adium.im/wiki/SelectiveSignOn