[Kst] Scripting plan

George Staikos staikos at kde.org
Mon Mar 14 17:03:10 CET 2005


On Monday 14 March 2005 04:09, Brisset, Nicolas wrote:

> >     It should theoretically be possible to write an XML
> > parser that parses a .kst file and turns it into a .js file
> > once we have the bindings complete.
>
> I was thinking of something else: some sort of trace that is produced
> whenever I click "OK" in a dialog and which produces the same effect.
> But it may be unnecessary/difficult to implement... And in any case, I
> suppose we can easily live without it.

   That would be mostly inefficient since opening and closing dialogs and 
interacting with them is simple a means to get from a data file to a Kst 
session.  Programatically there is a much faster way to get from data to Kst 
session, and we can recreate it easily from the XML.

   That doesn't mean you have to save it and run it through an external 
application...  It could be implemented as a Kst extension even, dumping out 
a .js from Kst's internal object structure.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list