[Kommander-devel] Connecting Kommander with Kross
Eric Laffoon
eric at kdewebdev.org
Thu Oct 19 06:38:08 EDT 2006
Hi Sebastian,
First off let me say how much I enjoyed meeting with you personally in Dublin.
It was fun hanging out with you.
I have the latest version of Koffice installed and I note that I can add a
file link in a spreadsheet to a Kommander dialog and it will open it. I also
got the latest PyQt so I can use the editor. So now I can see both in action
as well as use DCOP from a Kommander dialog to do things with the
spreadsheet. My question is how we might go about integrating...
For instance I could take a sample script and instruct a script widget to
execute it as python. Not being proficient in Python several things come up
like how I might use DCOP bindings. Without bindings I can call the script in
a widget or exec block and then issue a command. There are a lot of fun
issues for work arounds, but first a question. Where do you store scripts and
how do you bind them? For instance I'm wondering if I could edit and process
a script in a Kommander widget, or if it might make more sense to edit it and
call it via DCOP? How might Kommander integrate Kross scripts?
Particular limitations at the moment with internal integration is that we
can't yet pass parameters to and from scripts. We can use global variables,
but then passing to another language poses a problem. We can also use
environment variables within the instance of the shell we are in.
I'm open to ideas. We may have an advantage in KSpread, which I am excited
about, but I think we may need to look at how both Kross and Kommander might
facilitate each other better. It's very late here so maybe you will have a
more cognitive response than I do right now. ;-)
--
Eric Laffoon
Project Lead - kdewebdev module
More information about the Kommander-devel
mailing list