PDA

View Full Version : send keystrokes



szymek116
06-10-2005, 04:47 AM
Hi

i am currently working on application that would be an touchpannel applet for aplication. I want it to send keystrokes to another process (this process is console program). I've searched the forums but found only windows sendkey :( On unix i also found expec tool but after a few days fihgting with it i couldn't manage it to send a keystroke to process started before i start expect (i tried setting SPAWN_ID variable with no effect). Anyone have idea how to solve a problem ?

Codeplug
06-10-2005, 07:15 AM
There's sendkey daemon (http://www.google.com/search?&q=sendkey-0.9.tgz).

gg

szymek116
06-13-2005, 04:24 AM
thanx for link, althought its a quiet interesting tool it can't send keystrokes to applications in x windows, i wrote before that app which i want to send keystroke to is console application but i want to run it in xwindow in terminal. And i don't know how to send a keystroke with it to non-active console, when it sends keys it also do it to the active terminal, and this make no good to me becouse i want to send a keystroke from one app while being in another

edited: by now i discovered how it cant send keys in x window, sorry for makeing confusion ;) but the issue with sending to non active windows still unresolved