On Thu, Jan 18, 2001 at 07:55:00PM -0330, Neil Zanella wrote:
>
> Hello,
>
> Are the following possible with fvwm?
>
> 1) I would like to bind some actions to key presses but I would like these
> bindings to be activated only when a window with a particular
> resource name receives the focus.
Yes, the "current" command is what you need. Try this:
AddToFunc MyAction
+ I current (resourcestring) whatever_command_you_need
> 2) I would like the window manager to generate a sequence of synthetic
> key presses so that for example pressing the H key would send the
> string "Hello, World!" to the underlying application. This is useful
> when you have an application that does not have advanced features
> such as command history but nevertheless you ofen type the same
> command in and would like to do it with one key stroke.
The window manager is not the right place to do this and it can't
do this job properly anyway. This would seriously mess up event
handling in fvwm. I don't know if there are applications that
provide this functionality.
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Fri Jan 19 2001 - 06:11:11 GMT