Solved

simulate a key pressed

Posted on 2003-11-20
3
304 Views
Last Modified: 2011-09-20
Hi i want to make a little macro that simulate a F7 key pressed on the keyboard once in a 10 sec.
and i wanted to ask you experts how can i simulate a F7 or any other keyboard pressed.

thanks Navot.
0
Comment
Question by:navotvolk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 30 total points
ID: 9791141
This might help

http://www.developer.com/java/other/article.php/2212401

Just use the Robot class in a TimerTask

Tim
0
 
LVL 1

Author Comment

by:navotvolk
ID: 9794947
how do i make it press F7?
0
 
LVL 1

Expert Comment

by:FesterWim
ID: 9795304
The abbot frame work is usefull for this kind of testing:

http://abbot.sourceforge.net/
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
String array comparison 4 58
How to configure empty element in XML Document parser? 15 58
hashmap order 17 63
Session in java desktop 5 38
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question