|
-
Oct 27th, 2006, 06:31 PM
#1
Thread Starter
Lively Member
How to simulate a key being pressed?
Let's say I wanted to simulate pressing the right arrow key. What would be the code for this? Or, the code in general?
-
Oct 27th, 2006, 06:38 PM
#2
Re: How to simulate a key being pressed?
In your own app, or in a different app?
-
Oct 27th, 2006, 06:39 PM
#3
Thread Starter
Lively Member
Re: How to simulate a key being pressed?
-
Oct 27th, 2006, 06:40 PM
#4
Thread Starter
Lively Member
Re: How to simulate a key being pressed?
Is it just
Sendkeys "vbkeyRight"
-
Oct 27th, 2006, 06:41 PM
#5
Thread Starter
Lively Member
Re: How to simulate a key being pressed?
-
Oct 27th, 2006, 06:42 PM
#6
Re: How to simulate a key being pressed?
Pretty much (actually its {RIGHT}), but here is the whole sendkeys reference:
http://msdn2.microsoft.com/en-us/lib....sendkeys.aspx
-
Oct 27th, 2006, 06:45 PM
#7
Thread Starter
Lively Member
Re: How to simulate a key being pressed?
SendKeys {RIGHT} doesn't work.
-
Oct 27th, 2006, 06:51 PM
#8
Re: How to simulate a key being pressed?
Read the link, but its SendKeys.Send("{RIGHT}")
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
|