inertial Posted October 9, 2008 Posted October 9, 2008 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?
PsaltyDS Posted October 9, 2008 Posted October 9, 2008 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(). 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
Zinefer Posted March 4, 2009 Posted March 4, 2009 I am having the same issue, GetCount() is reporting 0 and GetText() returns an empty string...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now