|
-
Oct 14th, 2003, 09:42 AM
#1
Thread Starter
Hyperactive Member
Simulate Keys
hi
I want to simualte the press of these Keys:
Left (Arrow)
Right (Arrow)
Up (Arrow)
Down (Arrow)
Enter
I know I can use sendkeys.send() to send normal keys, but how to I simulate the press of these keys?
Thanks
-
Oct 14th, 2003, 10:14 AM
#2
have you tried the normal way ( like it was in vb6 ) ? eg:
VB Code:
SendKeys.Send("{UP}") '/// up arrow
SendKeys.Send("{DOWN}") '///down arrow
SendKeys.Send("{LEFT}") '/// left arrow
SendKeys.Send("{RIGHT}") '/// right arrow
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Oct 16th, 2003, 03:31 AM
#3
Thread Starter
Hyperactive Member
thanks for that if works great,
just another question I have another program called app1.exe
I want my previous application, which uses the send keys function, to select thi app1.exe
how do I do this?
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
|