Izebize Posted January 25, 2008 Share Posted January 25, 2008 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? Link to comment Share on other sites More sharing options...
erezlevi Posted January 25, 2008 Share Posted January 25, 2008 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) Link to comment Share on other sites More sharing options...
Izebize Posted January 25, 2008 Author Share Posted January 25, 2008 Don't work :\ Link to comment Share on other sites More sharing options...
erezlevi Posted January 25, 2008 Share Posted January 25, 2008 Don't work :\well, it didn't work for me too. can someone help here? Link to comment Share on other sites More sharing options...
WBoy2 Posted January 31, 2008 Share Posted January 31, 2008 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. I am interested on the solution of this behaviour too. Link to comment Share on other sites More sharing options...
Izebize Posted January 31, 2008 Author Share Posted January 31, 2008 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"]) Link to comment Share on other sites More sharing options...
WBoy2 Posted February 1, 2008 Share Posted February 1, 2008 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. 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