Re: Switching iChat Accounts
Re: Switching iChat Accounts
- Subject: Re: Switching iChat Accounts
- From: Dave Lyons <email@hidden>
- Date: Tue, 15 Nov 2005 16:08:55 -0800
On Nov 14, 2005, at 9:36 PM, Ed McNichol wrote:
I have 15 users who share three computers. Each COMPUTER has an
iChat account. I want the user logged into the iChat account
appropriate for that computer. Users preferences are shared from a
network log on. I would like to script this to happen at log on.
I tried this;
tell application "iChat"
log out
set account id to "AIM:xxxxxx3"
log in
end tell
But I got this message:
iChat got an error: Can't make id into type reference.
Any assistance is much appreciated.
I don't know how to make this work, but I got a little bit further.
The dictionary indicates that "log in" takes a reference to the
account to be logged in, and I can refer to my account:
tell application "iChat"
properties of account id "AIM:email@hidden"
end tell
...but when I try "log in account id "AIM:..." I just get "iChat got
an error: NSReceiversCantHandleCommandScriptError".
Cheers,
--Dave (who works on the Finder)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden