Jump to content
Sign in to follow this  
CageZ

Hidden Text?

Recommended Posts

CageZ

Is it possible to make the hidden text in the window info thing show up in a gui and refresh?

Share this post


Link to post
Share on other sites
bogQ

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 connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

Share this post


Link to post
Share on other sites
CageZ

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 by CageZ

Share this post


Link to post
Share on other sites
bogQ

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 by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

Share this post


Link to post
Share on other sites
CageZ

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 by CageZ

Share this post


Link to post
Share on other sites
bogQ

So lets try it like this

Do you

1. want your gui to have hidden text (you to hide text)

GUICtrlSetState ( GUICtrlCreateLabel("Hidden Text Here",10,10),$GUI_HIDE )

or

2. want your gui to display hidden text from some other window on your gui?

i probably geaved you solution in my post up there

Edit

Put while loop and in it read hidden text and from help file GUICtrlSetData to set data

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

Share this post


Link to post
Share on other sites
CageZ

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 by CageZ

Share this post


Link to post
Share on other sites
bogQ

#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 connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.