Jump to content
Sign in to follow this  
Izebize

Hidden text?

Recommended Posts

Izebize

Hy!

I wanna log my poker game, by logging the chat. I started the window info tool, and marked the chat window, and i can't see the chat text, even in the Hidden Text tab.

How can I retrieve the text, it its not shown in Visible Text, and Hidden Text tab within the info tool?

Share this post


Link to post
Share on other sites
erezlevi

Hy!

I wanna log my poker game, by logging the chat. I started the window info tool, and marked the chat window, and i can't see the chat text, even in the Hidden Text tab.

How can I retrieve the text, it its not shown in Visible Text, and Hidden Text tab within the info tool?

Hi, you can only try this:

Opt("WinDetectHiddenText", 1)

Share this post


Link to post
Share on other sites
erezlevi

Don't work :\

well, it didn't work for me too. can someone help here?

Share this post


Link to post
Share on other sites
WBoy2

Hi,

I use the same function

$result = Opt("WinDetectHiddenText", 1)

but the result is always 0.

One day in the last year, as I used this function at first time it was OK.

After I shutdow my computer, the function fails.

I have testet to insert the code line on the beginning of code and inside my code after WinActivate().

Both posibilities are fails. :D

I am interested on the solution of this behaviour too.

Share this post


Link to post
Share on other sites
Izebize

Your result allways will be 0, because Opt function returns the value of the previous setting for the option, wich is the default (0).

You can use like this:

Opt("WinDetectHiddenText", 1)
$result = WinGetText("program title" [, "program text"])

Share this post


Link to post
Share on other sites
WBoy2

Hello Izebize,

you are right. I copied the code line

CODE
$result = Opt("WinDetectHiddenText", 1)

MsgBox(0, "Test", $result)

$result = Opt("WinDetectHiddenText", 0)

MsgBox(0, "Test", $result)

and looked for the result with two Msgboxes. I get at first "0" this is the old value from the first Opt code line who I set it to 1 and I get "1" this is the old value from the second Opt code line who I set it to 0.

Now it works.

I saw not in all windows is there a hidden text available who I expected but it is not so importend.

Thank you very much for your help.

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.