Jump to content

How to get label name with autoit???


Recommended Posts

Hello. Use ControlGetText and then use some string mid split to get what you want.

Saludos

Link to comment
Share on other sites

Hi Danyfirex.

I've been tried and it not worked. 

This is my result while test with Autoit info.

I can only show messageBox is unnamed.

I think with ControlGetText is can only get text with textBox, rest with label name is not working. It is true or false???

>>>> Window <<<<
Title:    VPN Client  |  User Authentication for "vpn-inside"
Class:    QWidget
Position:    185, 230
Size:    416, 153
Style:    0x16CC0000
ExStyle:    0x0000010C
Handle:    0x000000000105061C

>>>> Control <<<<
Class:    QWidget
Instance:    7
ClassnameNN:    QWidget7
Name:    
Advanced (Class):    [CLASS:QWidget; INSTANCE:7]
ID:    
Text:    unnamed
Position:    10, 10
Size:    380, 14
ControlClick Coords:    176, 6
Style:    0x56000000
ExStyle:    0x00000004
Handle:    0x0000000002590462

>>>> Mouse <<<<
Position:    379, 277
Cursor ID:    0
Color:    0x863500

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
unnamed
unnamed
unnamed
password
unnamed
unnamed
unnamed


>>>> Hidden Text <<<<

Edited by Lê Hùng
Link to comment
Share on other sites

probably does not work with QWidget control. make a search about that on the forum.

 

Saludos

Link to comment
Share on other sites

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...