neypro Posted November 13, 2017 Posted November 13, 2017 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 :((
Moderators JLogan3o13 Posted November 13, 2017 Moderators Posted November 13, 2017 @neypro are you using the $SEND_RAW flag on ControlSend? neypro 1 "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!
neypro Posted November 13, 2017 Author Posted November 13, 2017 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 JLogan3o13 Posted November 13, 2017 Moderators Posted November 13, 2017 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!
neypro Posted November 14, 2017 Author Posted November 14, 2017 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 (:
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now