Войти

Показать полную графическую версию : Как прочитать скрытый текст


Re:Flex
01-11-2011, 07:29
Как прочитать текст из такого окна?

http://photo.sibnet.ru/upload/imggreat/132011758617.jpg

>>>> 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
Re:Flex,
Попробуйте так, вдруг сработает.#include (http://www.autoitscript.com/autoit3/docs/keywords.htm##include) <GUIListBox.au3>

$hList = ControlGetHandle (http://www.autoitscript.com/autoit3/docs/functions/ControlGetHandle.htm)('[Title:Instant Hand History; Class:#32770]', '', '[CLASS:PokerStarsListClass; INSTANCE:1]')
If (http://www.autoitscript.com/autoit3/docs/keywords.htm#If) Not (http://www.autoitscript.com/autoit3/docs/keywords.htm#Not) $hList Then (http://www.autoitscript.com/autoit3/docs/keywords.htm#Then)
MsgBox (http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm)(16, 'Error', 'ControlGetHandle')
Exit (http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit)
EndIf (http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf)
$iCount = _GUICtrlListBox_GetCount (http://dundats.mvps.org/help/html/libfunctions/_guictrllistbox_getcount.htm)($hList)
If (http://www.autoitscript.com/autoit3/docs/keywords.htm#If) $iCount < 0 Then (http://www.autoitscript.com/autoit3/docs/keywords.htm#Then)
MsgBox (http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm)(16, 'Error', '_GUICtrlListBox_GetCount')
Exit (http://www.autoitscript.com/autoit3/docs/keywords.htm#Exit)
EndIf (http://www.autoitscript.com/autoit3/docs/keywords.htm#EndIf)
For (http://www.autoitscript.com/autoit3/docs/keywords.htm#For) $i = 0 To (http://www.autoitscript.com/autoit3/docs/keywords.htm#To) $iCount - 1
MsgBox (http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm)(64, $i + 1 & ' (' & $iCount & ')', 'Text: ' & _GUICtrlListBox_GetText (http://dundats.mvps.org/help/html/libfunctions/_guictrllistbox_gettext.htm)($hList, $i))
Next (http://www.autoitscript.com/autoit3/docs/keywords.htm#Next)




© OSzone.net 2001-2012