sending keystroke to unfocused window

Renee Klawitter <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Hi!!

Is it possible to send a keystroke to an unfocused window ? What I
think of is emacslike C-M-v to scroll down in another (emacs-)window.

If you have your editor on one side of a splitted frame and maybe a
xpdf on the other, pressing META-v will send the <down key> event to
xpdf. The appropriate keystroke could be chosen by the receiving
window's window-info; and the receiving window itself could be chosen
by tagging it.

Could this be done by a script ? And if so, how ?

/Renee.





-- 
For contacting me: klawitter(at)email(dot)de
--
"The major difference between a thing  that might go wrong and a thing
    that cannot  possibly go  wrong is that  when a thing  that cannot
    possibly go wrong goes wrong it usually turns out to be impossible
    to get at or repair."  Douglas Adams, Mostly Harmless
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.