JAN
4
2005

Graphical Scripting with Kommander

Kommander is a powerful but easy to learn development environment. "Graphical Scripting with Kommander" takes us through the creation of a graphical interface for Konstruct, a tool for downloading, configuring and installing KDE from source packages. The article also lists some of the exciting developments coming to Kommander in the near future. This is the second of three separate Kommander tutorials, the first of which can be found here.

Comments

The article says:
"Finally, Kommander needs an icon, please send suggestions to kde-artists @kde.org"

why not create an icon contest on kde-look.org ?


By Pat at Mon, 2005/01/03 - 6:00am

Pat .. I'm pretty sure that Jonathan is aware of those contests. But indeed a icon contest @ KDE-Look.org would be cool. Thanks to Janet and others at KDE-Look who are working on those contests btw!

Ciao'

Fab


By Fab at Mon, 2005/01/03 - 6:00am

.. If gods play .. ... they remain on the peaks ... and - as far I am involved in the
rhearsal what applications of other OS's run already since years( i.e. tested ) on
KDE-overlays, I will not devote much time on things like icons. But some things
are very important : In SourceForge-groups are too many members to particiate!
... gods are beyond any list ... .. .


By llllll at Tue, 2005/01/04 - 6:00am

This March KDE-Look is planning on having the 'World Famous First Annual KDE Crystalish Icon Marathon With Prizes Awarded Challenge' (aka WFFAKCIMWPAC:). Please note: there has been some discussion about shortening the name.

Basicly we are going to work all month with the artists at KDE-Look on completing of as many icons as we can. The Kommander icon will be on the list as I have discussed with Jonathan last month.

To all the other application developers out there, feel free to email me if you want to be included on the WFFAKCIMWPAC list.

Janet Theobroma


By Janet Theobroma at Tue, 2005/01/04 - 6:00am

WFFAKCIMWPAC:

hahahahahahahaha


By Turd Ferguson at Wed, 2005/01/05 - 6:00am

A simple question: How do I use a language other than bash with Kommander?


By Martin at Tue, 2005/01/04 - 6:00am

RTFA.

Future of Kommander

Thanks to some hard work and generous sponsorship Kommander is under heavy development. There are a lot of features planned for the near future. Most important of these is an improved parser which will allow for local variables, nesting logic and integration with scripting languages other than bash.


By MacBerry at Tue, 2005/01/04 - 6:00am

OK -- it's just that every article I have read about Kommander (such as this one: http://applications.linux.com/applications/04/12/17/2033227.shtml) implies that it is script language agnostic (without telling you how to actually set the language). Since all Kommander seems to do is to substitute @ expressions and then call bash with the resulting text, why should it not be to begin with?

Of course, one could always do like in the article; write to a temporary file and then execute that with any interpreter.


By Martin at Tue, 2005/01/04 - 6:00am

Explained by Eric Laffon at:

http://dot.kde.org/1087424515/1087645428/1087651634/

Actually this is in the docs... Do this:
@execBegin(python)
import webbrowser
webbrowser.open('@urlField')
@execEnd

Alternately you could use...
@execBegin
#!/usr/bin/python
import webbrowser
webbrowser.open('@urlField')
@execEnd

Have fun with such a great piece of code Kommander is.


By Ivan Lloro at Tue, 2005/01/04 - 6:00am

Cool! I thought it should be in there. I did read the help file, but in my language it was mostly empty...


By Martin at Tue, 2005/01/04 - 6:00am

Just wondering, is Kommander the first software that aims to graphical scripting?
If yes, this is a major thing in computer desktop, right?


By blacksheep at Tue, 2005/01/04 - 6:00am