|
-
Jul 21st, 2004, 12:39 AM
#1
Thread Starter
New Member
Program that presses 2 buttons
I don't know VB very much, but I need a program that will press F5 and Enter.
It should go like this.
If i press the button START it will
1. Wait 5000 milliseconds
2. Press F5
3. Wait 100 milliseconds
4. Press Enter
5. Wait 2000 milliseconds
and then over and over again from step 2, until i press the button STOP
Please help me...i know some of these steps but i cannot write the whole program, because of lack of experience with VB...thanx
-
Jul 22nd, 2004, 03:00 PM
#2
PowerPoster
You would have to create a loop with a Do Events in it (to trrap the STOP button.
Use the Sleep command for the delay
Use the Keypress command to perform the various Key presses (F5, Enter)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|