Results 1 to 2 of 2

Thread: Automate Key Presses

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    117
    I have a program, which brings up a Message Box, every now and then (don't ask me why). Does anyone know how to automate pressing the Enter Key or clicking on the OK button?

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    This page tells you how to automate keypresses: http://www.vbapi.com/ref/k/keybd_event.html

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