Re: X-application for sending keystrokes, xse?

2005-10-12 Thread Igor Robul

[EMAIL PROTECTED] wrote:


Hello,

I've some X-application (only in binary form) written in
Java which presents the official Spanish dictionary; having
it uprunning it says about itself the below attached 'xprop'
output and if someone wants to see a small screen shoot it is
here: http://www.sisis.de/~guru/drae.jpg

In the small input field one can type Spanish words and the
X-application presents the page from the dictionary for the word;

my idea is to connect this to my editor 'vi' with a small
key macro to send over the actual word where the cursor is to this
application as it was typed in in the input field; like this:

map F8 xywoESCxp:.,.w !xsendkeys `cat`  /dev/null 2/dev/null ; ^Mu

Is there some 'xsendkeys' in FreeBSD which can send the keys 'hablar'
to the X-application calling
 


http://pag.csail.mit.edu/~adonovan/hacks/xsendkey.c

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


X-application for sending keystrokes, xse?

2005-10-11 Thread guru

Hello,

I've some X-application (only in binary form) written in
Java which presents the official Spanish dictionary; having
it uprunning it says about itself the below attached 'xprop'
output and if someone wants to see a small screen shoot it is
here: http://www.sisis.de/~guru/drae.jpg

In the small input field one can type Spanish words and the
X-application presents the page from the dictionary for the word;

my idea is to connect this to my editor 'vi' with a small
key macro to send over the actual word where the cursor is to this
application as it was typed in in the input field; like this:

map F8 xywoESCxp:.,.w !xsendkeys `cat`  /dev/null 2/dev/null ; ^Mu

Is there some 'xsendkeys' in FreeBSD which can send the keys 'hablar'
to the X-application calling

$ xsendkeys -name Diccionario de la lengua española hablar

Thx in advance

matthias

$ xprop -name Diccionario de la lengua española
_KDE_WM_WINDOW_OPACITY(CARDINAL) = 3221225471
_NET_WM_ICON_GEOMETRY(CARDINAL) = 588, 1004, 200, 23
_NET_WM_STATE(ATOM) = 
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, 
_NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, 
_NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, 
_NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 25, 4
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 23282720
_MOTIF_WM_MESSAGES(ATOM) = _MOTIF_WM_OFFSET
WM_PROTOCOLS(ATOM): protocols  _MOTIF_WM_MESSAGES, WM_DELETE_WINDOW
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x, 0x1, 0x, 0x0
WM_LOCALE_NAME(STRING) = es_ES.ISO8859-1
WM_CLASS(STRING) = AWTdialog, VendorShell
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 551, 421
program specified size: 289 by 180
window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = rebelion.Sisis.de
WM_NAME(STRING) = Diccionario de la lengua española

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]