Re: FVWM: Insert text in applications

From: Uwe Pross <uwe.pross_at_e-technik.tu-chemnitz.de>
Date: Thu, 18 Jul 2002 09:08:56 +0200

On July 18, 2002 at 00:02 -0600, Rob 'Feztaa' Park wrote:
>
> Why not just use a clipboard? Then the strings are inserted with
> something called "the middle mouse button". You can get fancy clipboard
> applications that hold more than one string at once. Try freshmeat.

I found a program called xclip which may be used to achieve what I
want. It can set and read the xselection. So thanks for the clipboard
hint.

I tried to use it in conjunction with the fvwm FakeClick command but
without success. Maybe someone has an idea why it does not work:

DestroyFunc InsertTextInApplication
AddToFunc InsertTextInApplication
+ I Exec echo -n $* | $[HOME]/bin/xclip
+ I FakeClick press 2 wait 250 release 2

AddToMenu InsertPopup
+ "Insert 109141029347" Function InsertTextInApplication 109141029347

When I select the menu entry above nothing happens. But I can insert
the number above by pressing the middle mouse button afterwards.

Uwe
-- 
+--------------------------------------------------
| Uwe Pross 
| mail : mailto:uwe.pross_at_e-technik.tu-chemnitz.de
| www  : http://www.tu-chemnitz.de/~uwp
+--------------------------------------------------
--
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 Jul 18 2002 - 02:09:37 BST

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