Sign in to follow this  
Followers 0
inertial

Get text from .NET 3.5 status bar...

3 posts in this topic

I have a .NET3.5 app with this control:

>>>> Control <<<<

Class: WindowsForms10.window.8.app.0.378734a

Instance: 11

ClassnameNN: WindowsForms10.window.8.app.0.378734a11

Advanced (Class): [CLASS:WindowsForms10.window.8.app.0.378734a; INSTANCE:11]

ID: 985288

Text: statusStrip1

Position: 0, 889

Size: 1133, 22

ControlClick Coords: 100, 9

Style: 0x56000000

ExStyle: 0x00010000

Handle: 0x000F08C8

It is a status bar at the bottom of the application's window and it contains some text other than what AuotIt is reporting, eg not "statusStrip1". Is there any way I can get the text from it?

Share this post


Link to post
Share on other sites



I have a .NET3.5 app with this control:

>>>> Control <<<<

Class: WindowsForms10.window.8.app.0.378734a

Instance: 11

ClassnameNN: WindowsForms10.window.8.app.0.378734a11

Advanced (Class): [CLASS:WindowsForms10.window.8.app.0.378734a; INSTANCE:11]

ID: 985288

Text: statusStrip1

Position: 0, 889

Size: 1133, 22

ControlClick Coords: 100, 9

Style: 0x56000000

ExStyle: 0x00010000

Handle: 0x000F08C8

It is a status bar at the bottom of the application's window and it contains some text other than what AuotIt is reporting, eg not "statusStrip1". Is there any way I can get the text from it?

A status bar can have multiple parts, and AU3Info.exe may only be reporting one part (likely index = 0, the first one). Try the functions from the current Beta version on it, like _GUICtrlStatusBar_GetCount(), and _GUICtrlStatusBar_GetText().

:P


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

I am having the same issue, GetCount() is reporting 0 and GetText() returns an empty string...

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