LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-10-2005, 04:02 PM   #1
lm317t
Member
 
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.

Thanks!
 
  


Reply


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 10:03 PM
Sending keystrokes to a gui lm317t Programming 3 10-11-2005 06:17 PM
Sending Keystrokes to a window seidren Programming 5 10-28-2003 06:24 AM
Trapping keystrokes in C k4zau Programming 3 03-09-2003 01:13 PM
Second Terminal Keystrokes Guinney Linux - Newbie 2 11-29-2002 08:18 PM


All times are GMT -5. The time now is 11:12 PM.

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