Script for a specific chat room

aim:goim?screenname=themacosdotcom&message=Hello+Are+you+there?

in phpbb forums, clicking on someone’s aim icon shows the link above and launches Aim…

How can I get a link to open iChat, and a chatroom called Panther?

would applescript do the trick, or must I use html?

Hello,

A preliminary search for “link” turned up 178 threads on this site, one or several of those may be useful.

I hope this helps.

Sincerely,

Variable as the shade

not much help, but thanks for trying.

I used search already… its impossible to read 178 links. searching for LINKS and AIM turned up just my post. One thing i’ve tried…

if I replace:

goaim

with

goichat

the ichat program launches… but I dont know how to get it to go into the Panther chat room. Not even sure if applescript is the answer. ? :?

I don’t know how to do it like a link, but here is the script for using applescript to go into the chatroom panther, doesn’t seem to work on my machine without the delay.

Basically this script goes to ichat, selects the menu item go to chat (command g) and types in “panther” and hits return. It works.

Obviously you can change the “panther” to whatever chat room you want, you could even have apple script prompt you for the chat room name.

Good luck and let me know how it turns out for you! Benc4liberty

tell application “iChat”
activate
tell application “System Events”
tell process “ichat”
keystroke “g” using command down
keystroke “Panther”
delay 3
keystroke return
end tell
end tell
end tell

I’ll try that. thanks. :slight_smile:

can applescript run from within a web browser?

I guess what I want is to do this from safari… launch ichat… open the panther room, and have a person enter that room… all with one click from a web browser.

not sure if thats possible though with applescript?

May be more of a html or javascript thing?