igortar Posted September 19, 2006 Share Posted September 19, 2006 Hi Folks, When I use Send command such as Send("text message") I receive text message in current window? But when I replace this row with ControlSend ("", "", "", "text message") I don't receive reply in window May be you have got ideas? Link to comment Share on other sites More sharing options...
BitRot Posted September 19, 2006 Share Posted September 19, 2006 May be you have got ideas?Maybe its because you are, with that command, looking for a window that has no title and a non-existing control (because of a faulty argument (a string instead of a value) where the control-ID should be) ? Link to comment Share on other sites More sharing options...
logi Posted September 20, 2006 Share Posted September 20, 2006 ControlSend ( "title", "text", controlID, "string" ) title: The title of the window to access. text: The text of the window to access. controlID: The control to interact with. See Controls. string: String of characters to send to the control. Link to comment Share on other sites More sharing options...
Bert Posted September 20, 2006 Share Posted September 20, 2006 Look at the example of controlsend in the helpfile, and this should make more sense to you. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
igortar Posted September 20, 2006 Author Share Posted September 20, 2006 Look at the example of controlsend in the helpfile, and this should make more sense to you.The problem is that I can send {Enter} (TAB) and this is working, but I can not send just a text using controllsend function. May be it needs to use special flag to send just a text in controlsend function? Link to comment Share on other sites More sharing options...
Zedna Posted September 20, 2006 Share Posted September 20, 2006 Hi Folks, When I use Send command such as Send("text message") I receive text message in current window? But when I replace this row with ControlSend ("", "", "", "text message") I don't receive reply in window May be you have got ideas? Try to: ControlSend ("", "", ControlGetFocus ("", ""), "text message") Resources UDF ResourcesEx UDF AutoIt Forum Search 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