Didonet Posted November 4, 2007 Share Posted November 4, 2007 (edited) Hello I have to send some text to another application using autoIT, but i have a problem... When I send for example the text Send("text") and run the program... it works. If I change my writing layout language when i Send("text") it sends the text but with the letters from the other language Example for Bulgarian language: EN: Send("text") ===> "text" BG: Send("text") ===> "теьт" Can I do something to send only in english? Or to send the text which is not dependent from the keyboard layout...? Edited November 4, 2007 by Didonet Link to comment Share on other sites More sharing options...
Nahuel Posted November 4, 2007 Share Posted November 4, 2007 Mmm.. I'm not really sure.. but probably using ControlSetText()... Or, if it's not a long text, use Send("{ASC XXX}") for the characters that cause trouble. I don't know if using Send("text",1) will work.. but try that too Link to comment Share on other sites More sharing options...
martin Posted November 4, 2007 Share Posted November 4, 2007 Mmm.. I'm not really sure.. but probably using ControlSetText()... Or, if it's not a long text, use Send("{ASC XXX}") for the characters that cause trouble.I don't know if using Send("text",1) will work.. but try that too It might be that you need to set the language to English before using send, then set it back to Bulgarian again afterwards. If so then have a look at this. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Didonet Posted November 4, 2007 Author Share Posted November 4, 2007 I use that for send the text: ControlSend("", "", "", "/me "& $chat, 1) It's for sending info for the current song in winamp... I can't find another way to do this... 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