Results 1 to 3 of 3

Thread: How can you send a combination of keys to a specific window?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    How can you send a combination of keys to a specific window?

    For example, i need to send CTRL+SHIFT+V to a window.. but i dont want to use sendkeys to anything (As it requires focus to the window)..

    anyone have a solution that will work no matter what window has focus?

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Use AppActivate to activate the window you want to send the keys to, send the keys, and then use AppActivate to return the focus to your app.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269
    is there no other way? like using API?

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