On Friday 22 February 2008 10:00:01 am Jason Sia wrote: > Hi, > I am a PHP developer and I will be developing a system that needs to > send private messages to yahoo messenger contacts. I need to send a > notification message to any yahoo messenger account that will be registered > by my users. I have been using kopete GUI for quite sometime. However, I > need this to be done automatically so maybe a php script is the best or if > not shell access. I will need to access kopete using php or shell commands > (command line) from logging in to my yahoo account and sending message to > people all done in the command line or via php code. In addition to this, > I also need to monitor all the incoming messages to my account (only one > account so its a fixed account) and respond to this depending on the code > similar to twitter's gmail support somewhat like a listener. Is this > possible with kopete? Do you have a list of the shell commands as I've > seen in Chapter 9 of the documentation. > > Thanks, > Jason > > > > Send instant messages to your online friends http://uk.messenger.yahoo.com
In KDE 3, use DCOP commands to talk to Kopete via a shell. See http://www.ibm.com/developerworks/linux/library/l-dcop/index.html about how to do this. In KDE 4, DBus is used instead of DCOP. Command qdbusviewer will allow you to browse the list of possible actions, and the command dbus-send allow you to send a dbus command to Kopete. Hope this helped. - Charles Connell _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
