sosimple Posted June 18, 2008 Posted June 18, 2008 (edited) I have an application, (SetFSB) which show a window with some information. I want to get that (text) information and put it o a variable, eg $the_info_of_the_window The autoit window info gives me this: CODE>>>> Window <<<< Title: SetFSB 2.1.69.2 Class: hspwnd0 Position: 84, 52 Size: 524, 267 Style: 0x16CA0000 ExStyle: 0x00000100 >>>> Control <<<< Class: Static Instance: 133 ClassnameNN: Static133 ID: Text: 266.0/532.0/100.0/33.3MHz Position: 284, 74 Size: 210, 18 ControlClick Coords: 28, 7 Style: 0x50001001 ExStyle: 0x00020000 I want to get the text info "266.0/532.0/100.0/33.3MHz" so the variable $the_info_of_the_window=266.0/532.0/100.0/33.3MHz Thanks , edit.. No one knows? Its a newbie question.. I think it is simple i just dont know how yet .. Edited June 18, 2008 by sosimple
sosimple Posted June 18, 2008 Author Posted June 18, 2008 Ok I found it after allot of reading.. All I wanted was that: CODE$the_info_of_the_window=ControlGetText ( "SetFSB 2.1.69.2", "", "[CLASSNN:Static133]" ) I write it just if someone searching for something like this..
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