send keystrokes

This is a discussion on send keystrokes within the Linux Programming forums, part of the Platform Specific Boards category; Hi i am currently working on application that would be an touchpannel applet for aplication. I want it to send ...

  1. #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 ?

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,662
    There's sendkey daemon.

    gg

  3. #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.

Popular pages Recent additions subscribe to a feed

Similar Threads

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

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