Originally posted by angelmb:
Hi, how to enable an iChat room within a web site?, that is, as easy as from the web page you can act like opening iChat from the Finder and clic Command+G and finally typing the chat room name. Then the user navigating in that site can doing a single clic and open iChat joining the desired room.
Maybe I must 'record' the process in 10.2 and then bring it to the web page's code? Is this hard?, no idea here really...
Of course if there is a better option to do this, please, tell me about it.
Thanks.
Last time I checked, iChat isn't scriptable. Also, you share a lot of misconceptions about how AppleScript works, it's not a macro language like Quickeys. It doesn't click on menus, do commands, type.. etc.. What it does is send events (AppleEvents) to programs which tells them to do things with certain parameters. If iChat were scriptable then it would be something like:
tell application "iChat" to join chat room "blah"
where 'join' is the command, 'chat room' is the class, and 'blah' is the parameter. And even if it were, you can't make a computer launch an AppleScript from the web. If you could, then you could do something dangerous like...
tell application "Finder" to delete every file
I don't know how well that would work though, I honestly haven't really tried it out before.
Now as for an actual solution..

All you have to do is use the following as a link:
aim:gochat?roomname=hello+world
So..
<a href="aim:gochat?roomname=hello+world">
Remember that if there are any spaces in your name, replace them with a "+" so My Awesome Chat would be...
<a href="aim:gochat?roomname=My+Awesome+Chat">
Now I know it works with IE but not with OW, I don't know about the other ones though :/
Hope this helps.