Jump to content
Sign in to follow this  

Getting a value from the Visible Text

Recommended Posts


Hi I am looking for a way to get value from Visible Text.

>>>> Window <<<<
Title:  NVIDIA Control Panel
Class:  Afx:00007FF6CFB40000:b:0000000000010007:0000000000000006:0000000002F21B43
Position:   965, 540
Size:   974, 620
Style:  0x14CF0000
ExStyle:    0x00010100
Handle: 0x0000000000B11C78

>>>> Control <<<<
Class:  Static
Instance:   26
ClassnameNN:    Static26
Advanced (Class):   [CLASS:Static; INSTANCE:26]
ID: 206
Position:   275, 113
Size:   953, 531
ControlClick Coords:    202, 73
Style:  0x5400000E
ExStyle:    0x00000004
Handle: 0x00000000004E1C9E

>>>> Mouse <<<<
Position:   1450, 777
Cursor ID:  0
Color:  0xF3F3F3

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
D&isable SLI

 I'm looking to get the Value for D&isable SLI and then move my mouse to it. I'm having trouble with this because I can't use the Advanced Class because there are multiple buttons with the same class so i have to resort to using Visible Text.

Is this possible to do? I found some example code on the forum but I'm not sure how to use the RegExp

For $i=1 To $Value[0]
    If StringRegExp($Value[$i],"[0-9][^:alpha:]") Then

That's the example.

Share this post

Link to post
Share on other sites

Visible text is related to the window. ..or possibly a different control.   wingettext ()

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

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  

  • Similar Content

    • Monica
      By Monica
      Hi guys!
      I have a Window and I want to interact with its controls.
      Using AutoIt Window Info, I can grab only the window title and class, and nothing else. All its controls is not recognized by the AutoIt tool.
      So can someone help me? Is there any solution to interact with this window controls? I must give focus to, read and write a textbox in this window.
      Thanks !!!