Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-10-2005, 05:02 PM   #1
Registered: Jan 2005
Location: Raleigh, NC
Distribution: Debian Etch, Slackware 10.2, Ubuntu 6.10, OpenWRT
Posts: 66

Rep: Reputation: 15
Sending Keystrokes

How do I send keystrokes to a window. Also, how do I focus the window that I would like to send keystrokes to? I believe its gonna involve writing to a pipe but I can't find any info on it anywhere. I am fluent with C++, Perl, but I have no idea how to do it in Linux. Doing it in windows was easy to figure out, there are several ways. Whats the easiest way to do this? I am trying to automate a gui program.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get keystrokes w/o ncurses dogpatch Programming 6 11-27-2005 11:03 PM
Sending keystrokes to a gui lm317t Programming 3 10-11-2005 07:17 PM
Sending Keystrokes to a window seidren Programming 5 10-28-2003 07:24 AM
Trapping keystrokes in C k4zau Programming 3 03-09-2003 02:13 PM
Second Terminal Keystrokes Guinney Linux - Newbie 2 11-29-2002 09:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration