Results 1 to 5 of 5

Thread: Send Keys Question

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    344
    Is there anyway to send keys to a APP while its minimized?
    -RaY
    VB .Net 2010 (Ultimate)

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Sure, but you have to activate the form first. Open up Notepad and minimize it.

    Code:
    App Activate "Notepad"
    sendkeys "% {Down 4} {Enter)", -1

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    344

    Would this...

    Would this allow me to do other things in the mean time? Or would I have to App Activate everytime before I send a key(s) to notepad?
    -RaY
    VB .Net 2010 (Ultimate)

  4. #4
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Whenever you want to send any keys to any prog, the prog has to have the focus, thus you must use appactivate or it will send the keys to itself.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    344

    If I...

    If I used API to send the keys then, then would I be able to do other things while I API?
    -RaY
    VB .Net 2010 (Ultimate)

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