I was using the following applescript code without a problem until I upgraded to 1.3 -
tell application "Adium"
set status of every account to the first status whose name is "At Work"
end tell
It now gives the following error:
Adium got an error: Can’t set name of status to status 1 whose name = "At Work".
I've tried changing the status to one of the generic ones and still get the same error. I've also tried this code:
tell application "Adium" to set status of every account to the status "Away"
same error message.
Any suggestions?
1.3 and applescript problem
Re: 1.3 and applescript problem
Name is no longer a property of the status class. You should be using title:
Code: Select all
tell application "Adium"
set status of every account to the first status whose title is "At Work"
end tell
Re: 1.3 and applescript problem
Thanks, next time I'll check documentation closer.