hefty Posted March 27, 2006 Author Share Posted March 27, 2006 (edited) read this post:http://www.autoitscript.com/forum/index.ph...ndpost&p=144675then read the entire thread and remember not to ask for help in that forum... ask in this one "v 3Support"Listen heres the deal. I am going to use ControlGetText ( "title", "text", controlID )And a debugger shows me all the controls the game uses.So if Im right i can read text using one of the games controls? Edited March 27, 2006 by hefty Link to comment Share on other sites More sharing options...
herewasplato Posted March 27, 2006 Share Posted March 27, 2006 (edited) Listen heres the deal. I am going to use ControlGetText ( "title", "text", controlID ) And a debugger shows me all the controls the game uses. So if Im right i can read text using one of the games controls?Then you only need one line of code to test that theory:MsgBox(0, "", ControlGetText("title", "text", controlID)) You let us know how that goes... Edited March 27, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
hefty Posted March 27, 2006 Author Share Posted March 27, 2006 (edited) Here is some of what I found. How do i type the id for the control? ASCII "CtlEditAutoComplete.cpp" ASCII "CtlTextSelectable.cpp" ASCII "CtlLayout.cpp" ASCII "UiCtlDistrict.cpp" ASCII "UiCtlPlace.cpp" ASCII "UiCtlBullet.cpp" ASCII "UiCtlDropMenu.cpp" ASCII "CtlPage.cpp" ASCII "CtlEdit.cpp" ASCII "CtlDef.cpp" ASCII "CtlBtn.cpp" ASCII "CtlImg.cpp" ASCII "CtlProgress.cpp" ASCII "CtlText.cpp" Edited March 27, 2006 by hefty Link to comment Share on other sites More sharing options...
seandisanti Posted March 27, 2006 Share Posted March 27, 2006 Would this work?you're really the best one to answer that question. TRY IT. you'll know almost instantly if it works or not. Link to comment Share on other sites More sharing options...
hefty Posted March 27, 2006 Author Share Posted March 27, 2006 you're really the best one to answer that question. TRY IT. you'll know almost instantly if it works or not.do i include the ctl? 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