PDA

View Full Version : Send chat with ichat using applescript




boenie
May 6, 2006, 08:49 PM
Hi, what i'am trying to do is the following. When a file is copied into a folder a script should check whether iChat is running if necessary start it up and send a message to one of my contacts saying there is a file waiting for you. The message should contain the file name and the folder name is the same as my contact.... I have the start up part more or less running and using folder actions i can watch the necessary folders but the part where ichat sends a message is not working. Does someone know how i can get it to work? Is this even possible? Any thought is welcome.