Results 1 to 3 of 3

Thread: [RESOLVED] simulate key presses

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    147

    Resolved [RESOLVED] simulate key presses

    hi all

    im not sure what this is called to search so any help appreciated

    what i want to do is make a timer and every say 30 second send the tab key and then the Q key to a different program that has focus.

    any help appreciated.

  2. #2
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    Re: simulate key presses

    Quote Originally Posted by ikaris69
    hi all

    im not sure what this is called to search so any help appreciated

    what i want to do is make a timer and every say 30 second send the tab key and then the Q key to a different program that has focus.

    any help appreciated.

    well if it has focus then simple make a timer and in it put.

    VB Code:
    1. sendkeys.send("{tab}")
    2. sendkeys.send("q")

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    147

    Re: simulate key presses

    worked great thanks much

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