Guest 17901 Posted September 7, 2004 Posted September 7, 2004 In some software installation, I will input some chinese charactor, I use send command send some chinese charactors, But it didn't work. How to dissolve this problem? Is there any way?
sugi Posted September 7, 2004 Posted September 7, 2004 In some software installation, I will input some chinese charactor, I use send command send some chinese charactors, But it didn't work. How to dissolve this problem? Is there any way? <{POST_SNAPBACK}>AutoIt is not able to send Unicode characters so there's no way to do this.
dboys Posted September 13, 2004 Posted September 13, 2004 In some software installation, I will input some chinese charactor, I use send command send some chinese charactors, But it didn't work. How to dissolve this problem? Is there any way? <{POST_SNAPBACK}>if u want to do it, don't use sent, just use ControlSetText
ezzetabi Posted September 13, 2004 Posted September 13, 2004 Or if, your program is evil, and it refuse Control commands... You have to use ClipPut('the cinese string') and CTRL-V in the field you need. It may seem ugly and bad looking, but it indeed work. Just remember to empty the Clip before Exit.
Matt @ MPCS Posted September 14, 2004 Posted September 14, 2004 If you take ezzetabi's suggestion, then I suggest dumping the contents of the clipboard to a variable BEFORE you set the text to the clipboard. Then after your script is done and AFTER you dump the contents of the clipboard, put the previous contents back on there. That way if the user stores information on the clipboard that they use often (like I do) then you aren't causing anymore headaches than absolutly necisary. It probably won't work with images (at least not yet) but it will work in 99% of the cirumstances. *** Matt @ MPCS
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