Send keystrokes to foreground windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devonknows
    New Member
    • Nov 2006
    • 137

    Send keystrokes to foreground windows

    Hi, i was wondering if there was a way to send keystrokes to the foreground window? Im using GetForegroundWi ndow() api call.

    Ive tried using SendKeys but it just doesnt seem to work.

    Any ideas

    Kind Regards
    Devon
  • CyberSoftHari
    Recognized Expert Contributor
    • Sep 2007
    • 488

    #2
    SendKeys will work, can you you post what you tried?

    Comment

    Working...