Jump to content

How to PostMessageA "Ctrl"+"Tab" to a window?


Recommended Posts

I want send "Ctrl" and "Tab" to a unactivated window, I find use PostMessageA can send a key to a unactivated window,but PostMessageA only send a key, PostMessageA can not send two keys to a window.

Now , I need send two keys to a unactivated window, How to do use PostMessageA?

My English is very bad. :(

Edited by qingtianyu9
Link to comment
Share on other sites

I want send "Ctrl" and "Tab" to a unactivated window, I find use PostMessageA can send a key to a unactivated window,but PostMessageA only send a key, PostMessageA can not send two keys to a window.

Hi, I'm not familiar with the PostMessageA() function you're describing. Another way to control/send commands to an unactivaed window is by using the following:

  • AutoIt Help File
  • AutoIt Window Information applet
  • 16 different AutoIt interal Control*() functions; i.e., ControlSend(), ControlClick(), ControlFocus()
Cheers!

EDIT:

A quick search on the forum shows plenty of information on using PostMessageA correctly. In case you haven't searched before posting your question, you might check this thread out.

Edited by ssubirias3
Link to comment
Share on other sites

Hi, I'm not familiar with the PostMessageA() function you're describing. Another way to control/send commands to an unactivaed window is by using the following:

  • AutoIt Help File
  • AutoIt Window Information applet
  • 16 different AutoIt interal Control*() functions; i.e., ControlSend(), ControlClick(), ControlFocus()
Cheers!

EDIT:

A quick search on the forum shows plenty of information on using PostMessageA correctly. In case you haven't searched before posting your question, you might check this thread out.

Thanks!I know "ControlSend()" certainly,ControlSend() not work correctly for me.

I search for google,There is no solution!

Edited by qingtianyu9
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...