Re: FVWM: [ANNOUNCE] quickselect: a screen like quickselecting script for fvwm written in perl

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Fri, 26 Sep 2003 01:52:41 +0300

On 26 Sep 2003 01:41:23 +0300, Mikhael Goikhman wrote:
>
> On 25 Sep 2003 22:17:05 +0200, Thomas Glanzmann wrote:
> >
> > I just wrote somehting I was missing since a long time. It isn't
> > directly related to screen but nice to have in the envrionment.
> >
> > What it does? You press CTRL SHIFT ALT + 0 - 9 get a crosshair and klick
> > on an X Application. If you want to switch to that application again you
> > press CTRL SHIFT + 0 - 9 ... that's it.
>
> I think it has a bug, it assumes window ids have 6 heximal digits after
> 0x. They may have (and usually have) 7 digits, but probably 5 and 8 too.
>
> What is the problem with this configuration that does the same without
> any external tools (quickselect, xwininfo), I posted it some time ago:
>
> Key 1 A SCM Key 1 A SC WindowId $[w.id] WindowListFunc
> Key 9 A SCM Key 9 A SC WindowId $[w.id] WindowListFunc
>
> (In fvwm versions less than 2.4.16 you should use "WindowListFunc $$w").

This works on focused window if any. IMHO, it is faster and easier.
To always force the crosshair like in your variant, you may use:

  Key 1 A SCM NoWindow Pick Key 1 A SC WindowId $$[w.id] WindowListFunc

Regards,
Mikhael.
--
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 Thu Sep 25 2003 - 17:54:35 BST

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