Sign in to follow this  
Followers 0
MarBobley

cant get the control or something else is wrong

5 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



bump

Share this post


Link to post
Share on other sites

Look into the function _IEAttach

Share this post


Link to post
Share on other sites

thx very much!

that worked.

greetings, mar bobley

Share this post


Link to post
Share on other sites

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

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  
Followers 0