Bug Description: Adium incorrectly defines the current status returned by "my status" and incorrectly sets "my status message"
I realize that there is a note in the Applescript Dictionary that says the status is not completely implemented, but the behavior has changed from version .77 to .80. I used the following script with .77 to toggle my away message on and off, but it no longer works with .80:
Code: Select all
on run
tell application "Adium"
if my status is idle then
set my status message to "away"
else
set my status to available
end if
end tell
end run
Currently, if Adium shows the current status as Available, "my status" returns 'away' (previously, it returned 'idle', so I assume you are 'available' for less than a second and are then considered 'idle' even if it doesn't appear that way for 10 minutes). Any status other than Available now returns 'away and idle'. In .80, the line "set my status message to..." now makes it a custom Available message, rather than an Away message, so just changing the IF statement isn't enough to fix the script.
Is it possible to change the script temporarily so that it works the way I want until the Applescript issues are fixed? If so, what do I need to change?