Jump to content

Edit Controll


Recommended Posts

I want to capture the text from an edit box and convert it to a $var.

Below is the moused over frozen information.

>>>> Window <<<<

Title: (Multiple Monitors) and ATI MOBILITY RADEON Xpress 200 Series Properties

Class: #32770

Position: 1, 4

Size: 484, 577

Style: 0x94C820C4

ExStyle: 0x00010501

Handle: 0x002B0352

>>>> Control <<<<

Class: Edit

Instance: 1

ClassnameNN: Edit1

Advanced (Class): [CLASS:Edit; INSTANCE:1]

ID: 1672

Text:

Position: 327, 236

Size: 29, 17

ControlClick Coords: 11, 9

Style: 0x58010080

ExStyle: 0x00000204

Handle: 0x00090540

>>>> Mouse <<<<

Position: 342, 278

Cursor ID: 2

Color: 0xE0DFE3

>>>> StatusBar <<<<

>>>> Visible Text <<<<

Color

Brightness:

0.5

3.5

List1

De&faults

List1

List1

&Desktop

F&ull Screen 3D

Profiles for:

Desktop

&Save

All Colors

Red

Green

Blue

Gamma:

100

-100

Slider1

Slider1

Slider1

Contrast:

1.00

Spin1

0

Spin1

100

Spin1

Reset

D&elete

0

200

&Hotkeys

OK

Cancel

&Apply

Help

Link to comment
Share on other sites

so im guessing this isnt a AUTOIT made editbox...

or you could do this

$x=guictrlread($edit)
if $x<>Guictrlread($Edit) then
;do this
endif

other wise, cant help ya

Link to comment
Share on other sites

You pointed me in the right direction. Since it isn't an autoit gui that command won't work.

Had to use a command that used window title and control ID.

$var=ControlGetText ( "(Multiple Monitors) and ATI MOBILITY RADEON Xpress 200 Series   Properties", "", 1672)
 Msgbox (0,"", $var)
Link to comment
Share on other sites

  • 2 months later...

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