Re: FVWM: FvwmButtons again

From: Charles Hines <>
Date: Tue, 5 Mar 1996 14:54:12 -0500

>>>>> "Olly" == Olly Stephens <olly_at_dylan.zycad.com> writes:

Olly> Now, there's one more feature that I would really like to see;
Olly> I'd like to be able to set up a button that would, given a
Olly> window name, start the program and wait for the window to come
Olly> up (like the default) unless a window with that name already
Olly> existed in which case it would warp the desktop to that window.

Olly> As an example, I'd like my FrameMaker button to only ever start
Olly> one copy - if I press it and FrameMaker is already running, it
Olly> should just change to the desk that it's on.

RTFM. You should be able to this now via a function and the 'None'
directive. The example that shows this in fvwm2.man:

       AddToFunc MailFunction "I" Next [$0] Iconify -1
       + "I" Next [$0] focus
       + "I" None [$0] Exec $0 $1

The 'None' line says only do this if no window matching $0 exists.
You should be able to use something like this with FrameMaker.

Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Mar 05 1996 - 13:54:57 GMT

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