|
-
Jul 12th, 2014, 04:36 PM
#2
Re: Emulate real keyboard key press
SendKeys sends keystrokes to the currently active window. if your arduino controller has a window, there are other methods available too.
First try giving focus to the window before SendKeys:
AppActivate("window title")
or:
AppActivate(window handle)
edit: it's the edit control that needs to be focussed
Last edited by .paul.; Jul 12th, 2014 at 04:41 PM.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Tags for this Thread
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
|