Jump to content

Recommended Posts

Posted

Hi admin

I have a problem with my step by get label name from application other with Autoit.

With attach picture, I want get substring "1B" and "2C" of label and show messagerBox. 

Please, help me.!!

Thanks,.

 CKXZ3gw.jpg

Posted

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

Saludos

Posted (edited)

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
Posted

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

 

Saludos

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
  • Recently Browsing   0 members

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