"P.Panuka" <[EMAIL PROTECTED]> writes:

> That brought me to the idea to use the two functions in one new
> own function.

Isn't what you're looking for 

  http://modeemi.cs.tut.fi/~tuomov/repos/ion-scripts-3/scripts/collapse.lua

?

> Here is how i tried to merge them in cfg_bindings.lua:
>
>
> local function mymaximize()
>     WFrame.maximize_horiz(_)
>     WFrame.maximize_vert(_)
> end

_ is only for interactive use. It represents the object from which the
command was called interactively. In a script, you have to use a real
argument.

-- 
Matthieu

Reply via email to