Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   AutoIt (http://forum.oszone.net/forumdisplay.php?f=103)
-   -   Как прочитать скрытый текст (http://forum.oszone.net/showthread.php?t=219428)

Re:Flex 01-11-2011 07:29 1786240

Как прочитать скрытый текст
 
Как прочитать текст из такого окна?

читать дальше »


Код:

>>>> Window <<<<
Title:        Instant Hand History
Class:        #32770
Position:        2480, 29
Size:        387, 428
Style:        0x94CF0004
ExStyle:        0x00010100
Handle:        0x001C0F04

>>>> Control <<<<
Class:        PokerStarsListClass
Instance:        1
ClassnameNN:        PokerStarsListClass1
Name:       
Advanced (Class):        [CLASS:PokerStarsListClass; INSTANCE:1]
ID:       
Text:       
Position:        16, 61
Size:        347, 88
ControlClick Coords:        138, 37
Style:        0x54210000
ExStyle:        0x00000000
Handle:        0x000F0AE2

>>>> Mouse <<<<
Position:        154, 98
Cursor ID:        0
Color:        0xE0E0E0

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
All Tables
PokerStars Game #69839522488:  Hold'em No Limit ($0.25/$0.50 USD) - 2011/10/31 22:47:23 ET
Table 'Aenna V' 9-max Seat #3 is the button
Seat 1: Doikito ($28.65 in chips)
Seat 2: Dispersnjak ($23.10 in chips)
Seat 3: leemahf ($50 in chips)
Seat 4: FACUMDP ($50 in chips)
Seat 5: Scorp1959 ($163.90 in chips)
Seat 6: verdez8 ($27.60 in chips)
Seat 7: SKGShae ($75.30 in chips)
Seat 8: dbubll ($21.85 in chips)
Seat 9: KTheGreat1 ($51.35 in chips)
FACUMDP: posts small blind $0.25
Scorp1959: posts big blind $0.50
*** HOLE CARDS ***
verdez8: folds
SKGShae: folds
dbubll: folds
KTheGreat1: folds
Doikito: folds
Dispersnjak: folds
leemahf: folds
FACUMDP: folds
Uncalled bet ($0.25) returned to Scorp1959
Scorp1959 collected $0.50 from pot
*** SUMMARY ***
Total pot $0.50 | Rake $0
Seat 1: Doikito folded before Flop (didn't bet)
Seat 2: Dispersnjak folded before Flop (didn't bet)
Seat 3: leemahf (button) folded before Flop (didn't bet)
Seat 4: FACUMDP (small blind) folded before Flop
Seat 5: Scorp1959 (big blind) collected ($0.50)
Seat 6: verdez8 folded before Flop (didn't bet)
Seat 7: SKGShae folded before Flop (didn't bet)
Seat 8: dbubll folded before Flop (didn't bet)
Seat 9: KTheGreat1 folded before Flop (didn't bet)

Options...
Visualize
Close


>>>> Hidden Text <<<<
BOOM!


Нужно получить строки:
69790093929 Admete III ddalrok $8.80
69790101885 Alderamin III mikesss777 $1.25

madmasles 01-11-2011 19:45 1786713

Re:Flex,
Попробуйте так, вдруг сработает.
Код:

#include <GUIListBox.au3>

$hList = ControlGetHandle('[Title:Instant Hand History; Class:#32770]', '', '[CLASS:PokerStarsListClass; INSTANCE:1]')
If Not $hList Then
    MsgBox(16, 'Error', 'ControlGetHandle')
    Exit
EndIf
$iCount = _GUICtrlListBox_GetCount($hList)
If $iCount < 0 Then
    MsgBox(16, 'Error', '_GUICtrlListBox_GetCount')
    Exit
EndIf
For $i = 0 To $iCount - 1
    MsgBox(64, $i + 1 & ' (' & $iCount & ')', 'Text: ' & _GUICtrlListBox_GetText($hList, $i))
Next



Время: 17:46.

Время: 17:46.
© OSzone.net 2001-