C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2005, 04:47 AM   #1
Registered User
 
Join Date: Jun 2005
Posts: 2
send keystrokes

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 ?
szymek116 is offline   Reply With Quote
Old 06-10-2005, 07:15 AM   #2
Registered User
 
Codeplug's Avatar
 
Join Date: Mar 2003
Posts: 3,894
There's sendkey daemon.

gg
Codeplug is offline   Reply With Quote
Old 06-13-2005, 04:24 AM   #3
Registered User
 
Join Date: Jun 2005
Posts: 2
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

Last edited by szymek116; 06-13-2005 at 04:27 AM.
szymek116 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending n no of char data uning send() function, thebrighter Windows Programming 1 08-22-2007 12:26 PM
How to send keystrokes from a C program? ACE91 Linux Programming 2 08-04-2007 02:17 PM
Send keystrokes to a running program via batch file ganjamon Windows Programming 2 08-16-2005 08:08 AM
pointers InvariantLoop C Programming 13 02-04-2005 09:32 AM
LISP (DrScheme) any one? Jeremy G A Brief History of Cprogramming.com 5 03-31-2004 12:52 PM


All times are GMT -6. The time now is 09:14 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22