And edtawfal_at_value.net spake, saying:
> I have 'F12' popping up an application. How can I make the second and later
> 'F12' key-press just raise the first application, instead of opening
> another instance.
Here's what I use:
} Key F2 A C NetscapeFunction
} ...
} DestroyFunc Goto
} AddToFunc Goto \
} "I" Iconify -1
} + "I" WindowShade 2
} + "I" Focus
} + "I" WarpToWindow 50 50
}
} DestroyFunc NetscapeFunction
} AddToFunc NetscapeFunction \
} "I" Next [Navigator] Goto
} + "I" None [Navigator] GotoPage 0 1
} + "I" None [Navigator] Exec netscape -install -geometry =624x800-120+86
It works as you describe. However, I have trouble getting 'Next' to
work with FvwmButtons - the following doesn't work as I expect. I
get additional instances of FvwmButtons each time the function gets
executed. Fvwm doesn't produce any error messages while defining or
executing the function. Any ideas why this doesn't work?
} Key F4 A C ButtonFunc
} ...
} DestroyFunc ButtonFunc
} AddToFunc ButtonFunc \
} "I" Next [FvwmButtons] Iconify
} + "I" None [FvwmButtons] Module FvwmButtons
--
Wesley Hart
Paranoia is just another name for a heightened
appreciation of how badly the Universe wants to get you.
--
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 Fri Feb 13 1998 - 10:06:46 GMT