Jump to content

How to send TAB function to an inactive window


Recommended Posts

Hi sumanthupar,

  Yes, according to the help file it is possible:

ControlSend() works in a similar way to Send() but it can send key strokes directly to a window/control, rather than just to the active window.

ControlSend() is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rather than accepting the keystroke messages). For normal windows ControlSend() should be way more reliable than a normal Send() - and yes it does send shift, ctrl, alt etc.

 

Use the window info tool to get some info about your window and then add this info to the ControlSend Parameter.

Give it a shot and come back if you get stuck.

Bill

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...