mattress Posted March 24, 2004 Share Posted March 24, 2004 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. Link to comment Share on other sites More sharing options...
scriptkitty Posted March 24, 2004 Share Posted March 24, 2004 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. Link to comment Share on other sites More sharing options...
mattress Posted March 24, 2004 Author Share Posted March 24, 2004 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. Link to comment Share on other sites More sharing options...
mattress Posted March 24, 2004 Author Share Posted March 24, 2004 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 Link to comment Share on other sites More sharing options...
Valik Posted March 24, 2004 Share Posted March 24, 2004 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) Link to comment Share on other sites More sharing options...
mattress Posted March 24, 2004 Author Share Posted March 24, 2004 (edited) Rock on, that worked, figured I screwed it up, I'm a recent V2 convert Edited March 24, 2004 by mattress Link to comment Share on other sites More sharing options...
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