Sign in to follow this  
Followers 0
ggirard

Problem with a non standard control (WinChart)

6 posts in this topic

Hi,

I'm trying to automate an application that is using a non standard control.

WinSpy tells me its class is WinChart, probably third party.

In this control, many things are drawn but some things are written too.

The application is using system fonts to display some text in this control.

I need this text. Do you have any idea on how to get it ?

Any help welcome.

Thank you very much.

Regards

Share this post


Link to post
Share on other sites



Hi,

I'm trying to automate an application that is using a non standard control.

WinSpy tells me its class is WinChart, probably third party.

In this control, many things are drawn but some things are written too.

The application is using system fonts to display some text in this control.

I need this text. Do you have any idea on how to get it ?

Any help welcome.

Thank you very much.

Regards

Welcome the the forum... Not only do we not have much of an idea on how to get it, we have no idea what in the world your saying :whistle:

Look at WinGetText() and ControlGetText() in the help file... if that doesn't help, upload a screenshot of the App along with the entire contents of the Au3Info.exe tool.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Hi,

Thank you for your welcome.

Sorry if that wasn't clear. Let me try again :

An application is using a control (Class name : WinChart) to display some text.

But WinGetText returns all the text in the window except the one in this control.

And ControlGetText on this control returns nothing.

What can I do to get the text ?

PS: Sorry but I don't have the permission to send screenshot and stuff.

It is a proprietary application and I don't have the source code either.

Thank you for your help.

Welcome the the forum... Not only do we not have much of an idea on how to get it, we have no idea what in the world your saying :whistle:

Look at WinGetText() and ControlGetText() in the help file... if that doesn't help, upload a screenshot of the App along with the entire contents of the Au3Info.exe tool.

Share this post


Link to post
Share on other sites

Can you highlight the text you need to capture?

Well what do you mean highlight ?

You mean in the application if I want to copy/paste it with the mouse ?

If this is the question then NO I can't.

Share this post


Link to post
Share on other sites

Well what do you mean highlight ?

You mean in the application if I want to copy/paste it with the mouse ?

If this is the question then NO I can't.

Rather than jumping through hoops and this lagging on for days with guesses, at least show us a copy of AutoInfo.exe tool's information. That isn't a screen shot, but may tell us alot of what you may need to do.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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  
Followers 0