notsure Posted August 10, 2009 Share Posted August 10, 2009 Title: IP-Tools [Trace] Class: TMainForm Position: 1040, 1 Size: 558, 1139 Style: 0x16CF0000 ExStyle: 0x00010100 Handle: 0x00070484 >>>> Control <<<< Class: TRichEdit Instance: 1 ClassnameNN: TRichEdit1 Advanced (Class): [CLASS:TRichEdit; INSTANCE:1] ID: 67256 Text: Position: 4, 93 Size: 542, 945 ControlClick Coords: 228, 212 Style: 0x542128C4 ExStyle: 0x00000200 Handle: 0x000106B8 local $text local $tbhandle local $tools $tbhandle = WinGetHandle("Ip_tools") $tools = ControlGetHandle($tbhandle, "", "[CLASS:TRichEdit; INSTANCE:1]") $text = _GUICtrlEdit_GetText ($tools) msgbox (1,"",$text) $text stays empty.. why does it fail? It says it can't vind the "Controlhandle" when u use an if/then/msgbox there. But i'm sure the [CLASS:TRichEdit; INSTANCE:1] exists. What can i do about it? Thx in advance. Link to comment Share on other sites More sharing options...
WolfWorld Posted August 10, 2009 Share Posted August 10, 2009 $text = ControlGetText ('IP-Tools [Trace]', '', 'TRichEdit1') msgbox (1,"",$text) GoodLuck Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
notsure Posted August 10, 2009 Author Share Posted August 10, 2009 $text = ControlGetText ('IP-Tools [Trace]', '', 'TRichEdit1') msgbox (1,"",$text) GoodLuck Dang... thx, i feel noob now >_< 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