[Kommander-devel] howto and docs needed

Eric Laffoon eric at kdewebdev.org
Fri Sep 30 04:01:23 EDT 2005


Hi,

On Wednesday 28 September 2005 12:10 pm, Matthias F. Brandstetter wrote:
> Hi all,
>
> sorry if this is the wrong mailing list for my question, but I did not
> found another one which I could write to.

This should be directed to the user list which was temporarily disabled but is 
back up.
>
> My question is as follows: I just started to use Kommander and it seems as
> it would have a great potential. I gave the "Set Wallpaper" crash course
> found on Goolge a try and it was a success from the beginning on. So I
> thought I want to try out more.
>
> Now my problem is, I can't find any good docs and/or howtos in the
> internet. The manual on Kommander's homepage is not really complete, I am
> missing several important parts for beginners:

Docs need updating but it's a problem because at one time feature development 
was outpacing docs. Regardless the function browser and examples make it less 
needed.
>
>  - are there any math functions, how to use them?

Look in the function browser under the Kommander group for @expr(). If the 
dialog is set to Kommander Script then you can use math functions free form 
but there are bugs with floating point at the moment.

>  - what is the basic syntax, how can I use variables?

There isn't really a syntax for @ functions and there are no variables except 
globals since each widget text is treated as a script instance. With KS 
variables are similar to most simply largely typeless languages. There are 
docs for this on site.

>  - which functions for which widgets?

The function browser eliminates this as a question because it intelligently 
handles this. You can also use my DCOP function tool for calls from an 
external source.

>  - and so on
>
> For example, I need to concatinate some strings together, but found no
> manual which explains this.

In @ functions you merely nest them together in the parenthesis and they are 
concatonated. In KS you enclose them in double quotes and use a +.

> Or I want to use a progress bar but there is 
> now info on how to use it, how to "talk" to it ...

Us the nested loop variable. Look at the example in 
kdewebdev/kommander/examples/tutorial/progressbar.kmdr
>
> Please direct me to any good docs and howtos, I am somewhat lost here :/
> Greetings and TIA, Matthias

Consider yourself directed. If you use the kommander list instead of the 
Kommander developer list you can ask all the questions you want. You can also 
look at Kommander applications listed on http://kde-apps.org
-- 
Eric Laffoon
Project Lead - kdewebdev module


More information about the Kommander-devel mailing list