CageZ Posted April 25, 2010 Share Posted April 25, 2010 Is it possible to make the hidden text in the window info thing show up in a gui and refresh? Link to comment Share on other sites More sharing options...
bogQ Posted April 25, 2010 Share Posted April 25, 2010 Can you try one more time to explain (in more details if possible) your question? TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
CageZ Posted April 25, 2010 Author Share Posted April 25, 2010 (edited) umm... In autoit window info theres Hidden text i was wondering if i could get the Hidden text from the window info on a GUI so i could see the hidden text on my programs GUI Edited April 25, 2010 by CageZ Link to comment Share on other sites More sharing options...
bogQ Posted April 25, 2010 Share Posted April 25, 2010 (edited) Opt("WinDetectHiddenText", 1) and use WinGetText load it to variable Edit: Note that it will get hidden and not hidden text togther so if you need only hidden text, get text before and after Opt() and compare it Edited April 25, 2010 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
CageZ Posted April 25, 2010 Author Share Posted April 25, 2010 (edited) GUICreate("AP",130,50) GUISetState(@SW_SHOW) HotKeySet("+!c", "ApBuild") GUICreate("Combat Info",300,300) GUICtrlCreateLabel("Hidden Text Here",10,10) GUISetState(@SW_SHOW) Not sure if this helps but i want the hidden text to show up on Combat info GUI... not sure if you need this but Naruto GOA Revised is the title Edited April 25, 2010 by CageZ Link to comment Share on other sites More sharing options...
bogQ Posted April 25, 2010 Share Posted April 25, 2010 (edited) So lets try it like thisDo you1. want your gui to have hidden text (you to hide text)GUICtrlSetState ( GUICtrlCreateLabel("Hidden Text Here",10,10),$GUI_HIDE )or2. want your gui to display hidden text from some other window on your gui?i probably geaved you solution in my post up thereEditPut while loop and in it read hidden text and from help file GUICtrlSetData to set data Edited April 25, 2010 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
CageZ Posted April 25, 2010 Author Share Posted April 25, 2010 (edited) Ok its the second but i dont want it to read hidden text from a different GUI i want it to read it from a window lol sorry for this im new to autoit v.v Edited April 25, 2010 by CageZ Link to comment Share on other sites More sharing options...
bogQ Posted April 25, 2010 Share Posted April 25, 2010 #include <GUIConstantsEx.au3> ;~ GUICreate("AP",130,50) ;~ GUISetState(@SW_SHOW) GUICreate("Combat Info",300,300) $id = GUICtrlCreateLabel("Hidden Text Here",10,10,250,250) GUISetState(@SW_SHOW) Global $data = "",$combined = "",$winname = "" While 1 If $data <> WinGetText($winname) Then $data = WinGetText($winname) GUICtrlSetData($id,$data ) ;~ Opt("WinDetectHiddenText", 1) ;~ $data1 = WinGetText($winname) ;~ Opt("WinDetectHiddenText", 0) ;~ $1 = StringSplit($data,@CRLF) ;~ $2 = StringSplit($data1,@CRLF) ;~ For $x = $2[0] - ($2[0] - $1[0]) To $2[0];if im not wrong this is the correct calculation ;~ $combined = $combined&$2[$x]&@CRLF ;~ Next ;~ GUICtrlSetData($id,$combined) ;~ $combined = "" EndIf Sleep(10) WEnd TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. 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