Re: FVWM: Moving windows to page

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Tue, 5 Mar 2002 23:43:05 +0100

On Tue, Mar 05, 2002 at 03:33:33PM -0300, Christian Lyra wrote:
>
> Hi all,
>
> Sorry for ask this again but I lost the ond thread, and the mail archive is
> not working :-(
>
> I want to move a window to another page using the keyboard. The problem is
> that a little calculation has to be done before move. Someone sent this, but
> it's no working either!
>
> Christian Lyra
>
> > > You can't make calculations in fvwm commands. Use the shell via
> > > PipeRead instead:
> > >
> > > Key Left FSTW SCM PipeRead "echo MoveToPage $[$[page.nx]-1] $[page.ny]"

Add another '$' here:

  Key Left FSTW SCM PipeRead "echo MoveToPage $$[$[page.nx]-1] $[page.ny]"
                                              ^^

> > ah... I missed that point... but anyway, it's not working... I tried to
> > redirect the ouput to a file so I could look to what was being echoed, and
> > found that I only got the values of -1, 0, and 1. It seems that the
> > $[page.nx] are not evalueted by FVWM before it sends to shell, so the shell
> > doesnt know what is $[page.xx]. what I have to do now?

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Mar 05 2002 - 16:41:21 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST