demonsc 0 Posted October 10, 2007 Hi, I'm new to Autoit, and i'm trying my best to understand this. I'm starting to understand how Auto-It works since i know a little bit of Java, just the basics I want to be able to use an option where i can send Text to another Window, in a specific Edit Field... I think you would use the ControlSend option... I have the AutoIt Window Info.. I got the Information on where i want to send the Text to: here it is Class Edit Instance 1 Classname NN Edit1 ID 1001 Text Position 308,148 Size 108,20 ControlClick Coords 43,7 Style 0x58010080 ExStyle 0x00000204 If you guys would also help me with what statement i would type of i wanted to Change the title of another window... If theres a Dictionary for Autoit statements could you please refer me to one, Thanks alot! Share this post Link to post Share on other sites
Richard Robertson 187 Posted October 10, 2007 The help file is always a good place to find AutoIt statements. I assume you have it? ControlSetText would actually be more reliable than ControlSend though. Share this post Link to post Share on other sites
demonsc 0 Posted October 10, 2007 Well can you write me an example of how it would look like? I'll try on my own though Share this post Link to post Share on other sites
GaryFrost 18 Posted October 10, 2007 Being it is a standard edit control you could also use the GuiEdit UDFs in the Beta, for example: #include <GuiEdit.au3> Run("notepad") WinWaitActive("Untitled -") $handle = ControlGetHandle("Untitled -", "", "Edit1") _GUICtrlEdit_AppendText($handle, "This is a test of the edit functions" & @CRLF & "This is only a test") MsgBox(0,"Test", _GUICtrlEdit_GetText($handle)) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Share this post Link to post Share on other sites
demonsc 0 Posted October 10, 2007 (edited) Oh My god!! Thx it worked... Now How Do i rename another window. For example This window.. The WebBrowser Window is currently named How would I?-AutoIt Forums... If i wanted to change it too Explorer, How would i do that? Edited October 10, 2007 by demonsc Share this post Link to post Share on other sites