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

List:       kde-core-devel
Subject:    Re: [RFC] Unified Application Scripting Interface
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2001-11-13 20:59:31
[Download RAW message or body]

Am Tuesday 13 November 2001 13:42 schrieb ian reinhart geiser:
> On Tuesday 13 November 2001 04:25 am, Cornelius Schumacher wrote about Re:
>
> [RFC] Unified Application Scripting Interface:
> > What applications do you have in mind for your scripting interface? It
> > would probably help to get a better understanding, if you could provide
> > some use cases.
>
> Example for KDE PIM:
> 	A secretary has access to 50 staff KOrganizer calenders and every morning
> she needs to get an idea of who is doing what.  For her to open 50
> calenders would take all morning.  So a staff developer could write a
> simple shell script that would tell KOrganizer via dcop to iterate through
> a list of calenders and open them up.  Apply a filter to only show a
> certain event and then save the calender to an HTML file in a certain
> directory.  Now this process assumes that KOrganizer has the needed dcop
> interfaces.
>
> The idea here is that as far as the secretary knows she is using
> KOrganizer. We are allowing end users and developers to expand on the
> features of current applications via automation.
>
> The next stage involves using a shared parent object.  This way the script
> using python/ruby or perl can access the parent objects public member
> functions.  This requires about as much preparation as setting up dcop
> interfaces in an application so it is really up to the developer.  The
> advantage of this shared parent object or "object twin" is that you can
> pass large objects back and forth without the overhead it causes to dcop. 
> You can also allow more flexibility in the nature of the script plug in.
>
> I hope this clears up some of your questions.  I designed most of my
> examples around Kate, and KDevelop because this was the source I was most
> familiar with.
Geiser wants to create a common infrastructur for apps to support 
automation/scripting themself ;)).
Seems to be a very good thingy to have in 3.0 and will make it very easy to 
extend a app with some script code ;)

cu
Christoph

>
> If you have any questions please let me know.
> -ian reinhart geiser
-- 
| |   / /               - get an edge in editing -
| | / /                      »»»» GET KATE ««««
| |/ /      a fast and capable multiple document,
|     \     multiple view text editor for KDE
| |\  \     cullmann@kde.org
| |  \  \   http://kate.sf.net

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

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