From kde-devel Sun Sep 19 19:41:41 2004 From: Richard =?iso-8859-1?q?L=E4rk=E4ng?= Date: Sun, 19 Sep 2004 19:41:41 +0000 To: kde-devel Subject: Re: Implmenting DCOP Message-Id: <200409192141.43027.nouseforaname () home ! se> X-MARC-Message: https://marc.info/?l=kde-devel&m=109562293817447 On Sunday 19 September 2004 20.28, PiggZ wrote: > next question, a call to dcop returns kppp-PID, > > How do i manage to find the correct id to call? im sure ive seen this > talked about before. Something like: dcop $(dcopfind -a kppp-*) KpppIface methodname should work, I guess. > Next, kppp emits a signal when it is connected, how would i listen for this > in a script, or is it easier to just wait for say, a minute and presume it > is connected? I don't thinks it's possible to listen for a dcop-signal in a shell script, but I could be wrong. OTOH, if you program in something like perl/python/ruby there's bindings for DCOP in the kdebindings module, from which you can do really cool stuff. > Cheers > > PiggZ Richard Lärkäng >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<