Sign in to follow this  
Followers 0
mattress

Netscape Status Bar

6 posts in this topic

Can the status bar data from Netscape Navigator be read by StatusBarGetText? In the window spy it reads it as status bar text 4, I tried:

Opt("WinTitleMatchMode",2)

$t = StatusBarGetText("Netscape", 4)

MsgBox(0, "Test", $t)

I get a blank in the msgbox. I read the help file about the statusbargettext command, and was thinking maybe Netscape uses it's own verson of the common control that AutoIt reads for the return data.

Share this post


Link to post
Share on other sites



My suggestion is to use AutoItspy, if you can see it there, you can see it in AutoIt. If not? well you might have to jump a few hoops.

Statusbar text in Firefox is not readable the normal way, I haven't tested other methods yet.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

I can see it in the AutoIt spy, #4 in the status bar text field.

>>>>>>>>>( Status Bar Text )<<<<<<<<

(1):

(2):

(3):

(4): Document: Done

(5):

Is my syntax incorrect? Kinda weird.

Thanks for the response.

Share this post


Link to post
Share on other sites

Tested it with MSIE, tried to view line 5 of the Status Bar Text, same problem, there is text in the field, seems to only want to view default #1 bar from MSIE.

>>>>>>>>>( Status Bar Text )<<<<<<<<

(1):

(2):

(3):

(4):

(5): Internet

Share this post


Link to post
Share on other sites

You're using incorrect syntax. You' trying to match a window with the title "Netscape" and the text "4". In short, you're putting the field you want to read where the text goes.

StatusBarGetText("Netscape", "", 4)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Rock on, that worked, figured I screwed it up, I'm a recent V2 convert :whistle:

Edited by mattress

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