kania Posted November 6, 2006 Share Posted November 6, 2006 (edited) here is the code HotKeySet("{PAUSE}", "EndScript") while 1 sleep(1000) ;{ASC 2709} is code piece come from the autoit3 help document,its a chinese char. ControlSend("cmd.exe","","","A{ASC 2709}B") wend Func EndScript() Exit EndFunc when the cmd.exe window is active,the code runs well,but when the cmd.exe window is on background,it only recieve String [AB],it just lose the unicode. ControlSendPlus act in the same way too. any further info is welcome. thx Edited November 6, 2006 by kania Link to comment Share on other sites More sharing options...
Bert Posted November 6, 2006 Share Posted November 6, 2006 ControlSendPlus ???? whats that? I looked in the beta, and didn't see it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jpm Posted November 6, 2006 Share Posted November 6, 2006 ControlSendPlus ???? whats that? I looked in the beta, and didn't see it.he means _ControlSendPlus just search.In fact back to the subject _ControlSendPlus will not take care of UNICODE char. At least it is my guess Link to comment Share on other sites More sharing options...
kania Posted November 6, 2006 Author Share Posted November 6, 2006 yeah,i mean [the user define function ControlSendPlus]. i really wonder why the cmd.exe window need to be active to recieve a unicode char send by ControlSend though... Link to comment Share on other sites More sharing options...
jpm Posted November 6, 2006 Share Posted November 6, 2006 yeah,i mean [the user define function ControlSendPlus]. i really wonder why the cmd.exe window need to be active to recieve a unicode char send by ControlSend though...I really don't know even I see the internal code (I am in the DevTeam) but Windows coding is not so easy to override what it is done by Windows itself. Perhaps other Dev can comment 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