Yahoo! Messenger

I’m new to AS but, I have a question… I want to be able to set the away message for Yahoo! Messenger, but what I’m doing doesn’t work.

The dictionary says:

So I wrote:


tell application "Yahoo! Messenger" to set SetStatus to 3

and I also tried:


tell application "Yahoo! Messenger" to set SetStatus with "Away"

Both of those get errors. Does anybody know how to make this work?

Thanks

Daemon, try this code…

tell application "Yahoo! Messenger" to SetStatus "5"

You could even add a dialog to let the user set the numerical status to a list of acceptable numbers then use the returned value as a variable ;¬)
hth…

Thanks, that worked :slight_smile: