Jump to content

Recommended Posts

Posted

I send a text to a specified window. I have used controlsend or winapi_postmeseger but can not distinguish capital letters and lower case letters. Can you help me :((

Posted
2 hours ago, JLogan3o13 said:

@neypro are you using the $SEND_RAW flag on ControlSend?

Yes. I use the $ SEND_RAW flag on ControlSend. When I enter 'TEST', only the result 'Test'

  • Moderators
Posted

Well, I will say it is a bit difficult to troubleshoot further without a better explanation. What application is this "specific window"? How about posting the code you're using?

A simple test to a Notepad window shows the all caps output I would expect:

#include <AutoItConstants.au3>
ControlSend("Untitled - Notepad", "", "Edit1", "TEST", $SEND_RAW)

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted
On 13/11/2017 at 11:18 PM, JLogan3o13 said:

Well, I will say it is a bit difficult to troubleshoot further without a better explanation. What application is this "specific window"? How about posting the code you're using?

A simple test to a Notepad window shows the all caps output I would expect:

#include <AutoItConstants.au3>
ControlSend("Untitled - Notepad", "", "Edit1", "TEST", $SEND_RAW)

 

This is a program of Vietnam. I tested it in notepad then it runs fine :(
Other ways to send text to the k window (:

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
  • Recently Browsing   0 members

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