• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Switching iChat Accounts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Switching iChat Accounts
      • From: email@hidden
References: 
 >Switching iChat Accounts (From: Ed McNichol <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: arrange icons on desktop
  • Previous by thread: Re: Switching iChat Accounts
  • Next by thread: Re: Switching iChat Accounts
  • Index(es):
    • Date
    • Thread