ffunky Posted May 9, 2008 Posted May 9, 2008 Hey folks. I'm just trying to do a BASIC IE window with a single web page, but I want a statusbar available. Can anyone assist? #include <GUIConstants.au3> #include <IE.au3> #NoTrayIcon _IEErrorHandlerRegister () $oIE = _IECreateEmbedded () $Gui = GUICreate("HP Service Center", @DesktopWidth/1.5, @DesktopHeight/1.5, -1, -1, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj($oIE, -1, -1, @DesktopWidth/1.5, @DesktopHeight/1.5) GUISetState() GUICtrlSetResizing($GUIActiveX,1) $oIE.StatusBar = 1 _IENavigate ($oIE, "about:blank") While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() Exit
DaleHohm Posted May 9, 2008 Posted May 9, 2008 _IEPropertySet Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble
ffunky Posted May 9, 2008 Author Posted May 9, 2008 Thanks for that, and I have tried that. I inserted it just before the _IENavigate command but I still don't see a bar. _IEPropertySet ($oIE, "statusbar",0)
Moderators big_daddy Posted May 9, 2008 Moderators Posted May 9, 2008 Thanks for that, and I have tried that. I inserted it just before the _IENavigate command but I still don't see a bar._IEPropertySet ($oIE, "statusbar",0)If you are wanting to enable the statusbar you need to use 1 or True as the new value.
ffunky Posted May 9, 2008 Author Posted May 9, 2008 Sorry. typo on my part. It still doesn't work.And yes, I'm still a noobie. If you are wanting to enable the statusbar you need to use 1 or True as the new value.
DaleHohm Posted May 9, 2008 Posted May 9, 2008 Try this: #include <IE.au3> $oIE = _IECreate() _IEPropertySet($oIE, "statusbar", 0) Sleep(1000) _IEPropertySet($oIE, "statusbar", 1) Sleep(1000) _IEPropertySet($oIE, "statusbar", 0) Sleep(1000) _IEPropertySet($oIE, "statusbar", 1) Sleep(1000) _IEPropertySet($oIE, "statusbar", 0) Sleep(1000) _IEPropertySet($oIE, "statusbar", 1) Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble
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