Merchants Posted August 13, 2010 Share Posted August 13, 2010 (edited) i don't know why this does not work wel.. ControlSend($Win, "", "", "test!", 1) it says: test1 Edited August 13, 2010 by Merchants Link to comment Share on other sites More sharing options...
Tvern Posted August 13, 2010 Share Posted August 13, 2010 (edited) I think the problem is that "!" is used to send "Alt". Try "{!}" instead. The documentation for Send() has more information on this. edit: Now I see you are sending the keys raw. Guess you could still try without the raw flag, but using "{!}". edit2: I can't actually reproduce your problem. I can send the string "test!" to scite without a problem. Edited August 13, 2010 by Tvern Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 13, 2010 Moderators Share Posted August 13, 2010 Could be the app you're sending it to is changing the chars. Couple of options you could try. - SendMessage() API call yourself with WM_SETTEXT - Try using an actual control classname or handle in the third param - Use ControlSetText() instead. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Merchants Posted August 14, 2010 Author Share Posted August 14, 2010 hmm.. how do i use this can you make a simple script? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 15, 2010 Moderators Share Posted August 15, 2010 hmm.. how do i use this can you make a simple script?I will help you ( to help yourself ) by saying this. "It's been done, search the forum". Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
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