Jump to content

cant get the control or something else is wrong


Recommended Posts

hi

i want to make a tool for titan poker that lists my hands.

to do this i want to read out the message window which is an ie control.

but i cant get the source of this control.

this is what the info tool says:

Posted Image

and this is the source:

#include <IE.au3>

$iewindow  = ControlGetHandle("[CLASS:PTIODEVICE]", "", "Internet Explorer_Server1")
$sHTML = _IEDocReadHTML ($iewindow)
MsgBox(0, "Document Source", $sHTML)

would be cool if you know what i do wrong.

greetings, mar bobley

Edited by MarBobley
Link to comment
Share on other sites

  • 1 month later...

Bobley, can you plz explain me how did you manage it to work? i tried hundred times but didn't get that text from the chat window:

>>>> Window <<<<
Title:  $100 Beginners Freeroll - 30/60 - 191375803
Class:  PTIODEVICE
Position:   793, 111
Size:   806, 626
Style:  0x16CA0000
ExStyle:    0x00000100
Handle: 0x00100814

>>>> Control <<<<
Class:  Internet Explorer_Server
Instance:   3
ClassnameNN:    Internet Explorer_Server3
ID: 
Text:   
Position:   3, 470
Size:   229, 94
ControlClick Coords:    180, 45
Style:  0x56000000
ExStyle:    0x00000000
Handle: 0x00380A3A

>>>> Mouse <<<<
Position:   186, 538
Cursor ID:  2
Color:  0xD7E8F8

>>>> StatusBar <<<<

>>>> Visible Text <<<<
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...