[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE scripting architecture.
From:       Zack Rusin <zackrat () att ! net>
Date:       2002-07-11 19:20:42
[Download RAW message or body]

On Thursday 11 July 2002 14:31, ian reinhart geiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 11 July 2002 02:23 pm, Zack Rusin wrote:
> > Hi,
>
> [..]
> Hi, please take a look at dcop ;)
> It does exactly what you want to do.

No, not really, that's the point. Now let's say I have a Kopete like app 
and want to have a script which writes everything people wrote me while 
I was being away to a file and says something to everyone who messaged 
me. This would involve hooking up a plugin that would be called when:
a) I'm away,
b) I get a message,
but iff one of these conditions is satisfied. This would involve 
connecting handlers within the plugin to the exposed signals.
So within application I would call "Menu->Load Plugin..." the plugin 
would be loaded and the right signals connected to the corresponding 
handlers within the plugin. With DCOP It's not a problem to write a 
script that would write contents of a message to a file and respond to 
users, but it's a problem to write a script which would be loaded in 
the background during the whole application execution time and do it's 
work only if certain signals/prerequisites are satisfied.

Zack

-- 
"In Murphy We Turst" 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic