Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

Posted

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

Posted

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)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...