Sign in to follow this  
Followers 0
bhdresh

Is it possible to get text from toolbar of window info tool?

3 posts in this topic

Hi,

I need help in checking toolbar text in my script.

I tried searching around but found solutions for statusbar text read but not for toolbar text.

is it possible to get text shown in toolbar of window info tool? if yes, then how?

Thanks in advance.

post-70258-0-69138600-1329043394_thumb.j

Share this post


Link to post
Share on other sites



Window info is as bellow............

---------------------------------------------------

>>>> Window <<<<

Title:

Class: Shell_TrayWnd

Position: 0, 614

Size: 1360, 30

Style: 0x96000000

ExStyle: 0x00000088

Handle: 0x00030044

>>>> Control <<<<

Class: ToolbarWindow32

Instance: 1

ClassnameNN: ToolbarWindow321

Name:

Advanced (Class): [CLASS:ToolbarWindow32; INSTANCE:1]

ID:

Text: Notification Area

Position: 1241, 6

Size: 54, 18

ControlClick Coords: 16, 3

Style: 0x56008B4D

ExStyle: 0x00000080

Handle: 0x00030050

>>>> Mouse <<<<

Position: 1257, 623

Cursor ID: 0

Color: 0x1090E9

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

1: 9 Tor is not running

2: 7 1:15 hours (44%) remaining

3: 3 Local Area Connection

Speed: 100.0 Mbps

Status: Connected

4: 6 Downloads

5: 5 Download

6: 4 Vidalia

7: 2 Tor Browser

8: 1 Volume

9: 0 Oracle VM VirtualBox Guest Additions 4.0.14r74382

>>>> Visible Text <<<<

start

3:33 PM

Notification Area

Running Applications

Running Applications

>>>> Hidden Text <<<<

---------------------------------------------------------

Pleae help ...

Share this post


Link to post
Share on other sites

Maybe the winactivate command might be a good direction to go?

I haven't had a whole lot of difficulty with it as of late - so may work for what you are wanting.

It won't read the toolbar text - as of yet I have not found a way to do that, but it will read for the title of the window that is open. (works if the item is minimized from view).

Hope this helps. i'm still pretty new so if someone else has more info on the matter - please feel free to chime in.

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