Results 1 to 5 of 5

Thread: SendKeys Question?

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    5

    Question SendKeys Question?

    Can you sendkeys to an non active app? somehow??

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    I do not think so .

  3. #3
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719
    Yes that is indeed possible, I used it one time to make a save progress of images quicker. I had to scan about 10 pages and select little 5x5cm pieces, then cut those and save them, hell of a lot of work. Until I used the SendKeys.

    I did it like this:
    VB Code:
    1. Private Sub cmdGo_Click()
    2.     Me.Hide
    3.  
    4.     SendKeys "^C", True
    5.     'etc. etc.
    6. End Sub
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    5

    Huh?

    I don't understand how you mean that should work,..

    what I mean is for example to sendkeys to an minimized notepad app,..

  5. #5
    Fanatic Member arsmakman's Avatar
    Join Date
    Dec 2001
    Location
    Leiden, Netherlands.
    Posts
    719

    Re: Huh?

    Originally posted by Svenne
    I don't understand how you mean that should work,..

    what I mean is for example to sendkeys to an minimized notepad app,..
    Oh, sorry I misunderstood the question, I thought you wanted to use sendkeys from a non-active app.

    I don't think to non-active is possible.
    No matter how fool-proof your program is, there will always be a better fool.

    Was a post helpful to you? Rate it!

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