Results 1 to 5 of 5

Thread: Emulate real keyboard key press

Threaded View

  1. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,434

    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.

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
  •  



Click Here to Expand Forum to Full Width