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:[EMAIL PROTECTED]
| 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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to