JohnBailey Posted October 22, 2007 Share Posted October 22, 2007 (edited) Does anyone know how to activate panes in internet explorer; panes like History and Favorites.the following code will "create" an IE Obj and show it, but how do I make a pane visible/activated?$oIE = ObjCreate("InternetExplorer.Application) $oIE.visible=1 $oIE.navigate('www.autoitscript.com')ANSWER#422219 Edited October 23, 2007 by JohnBailey A decision is a powerful thing Link to comment Share on other sites More sharing options...
DaleHohm Posted October 22, 2007 Share Posted October 22, 2007 Does anyone know how to activate panes in internet explorer; panes like History and Favorites. the following code will "create" an IE Obj and show it, but how do I make a pane visible/activated? $oIE = ObjCreate("InternetExplorer.Application) $oIE.visible=1 $oIE.navigate('www.autoitscript.com')I believe the method you want is showBrowserBar $oIE.ShowBrowserBar ("{30d02401-6a81-11d0-8274-00c04fd5ae38}", True) http://msdn2.microsoft.com/en-us/library/aa752100.aspx 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 Link to comment Share on other sites More sharing options...
JohnBailey Posted October 23, 2007 Author Share Posted October 23, 2007 I believe the method you want is showBrowserBar$oIE.ShowBrowserBar ("{30d02401-6a81-11d0-8274-00c04fd5ae38}", True)http://msdn2.microsoft.com/en-us/library/aa752100.aspxDaleHAHAHAHA Thank you Dale!! I looked all over msdn and google for that and again you find it from magical sources! Thanks so much and thank you for providing the link. Now, more fun will ensue A decision is a powerful thing Link to comment Share on other sites More sharing options...
JohnBailey Posted October 23, 2007 Author Share Posted October 23, 2007 Dale, you wouldn't happen to know where I get more Browser Bar Class IDs pertaining to the "local explorer" (http://www.autoitscript.com/forum/index.php?showtopic=55648) The following works, but I'd like to find out more $oShell = ObjCreate("shell.application") ; Get the Windows Shell Object If Not IsObj($oShell) Then MsgBox(0,'','Not Obj') Exit EndIf $oShellWindows=$oShell.windows $oShellWindows.Item(1).visible = 1 $oShellWindows.Item(1).ShowBrowserBar ("{30d02401-6a81-11d0-8274-00c04fd5ae38}", True) A decision is a powerful thing Link to comment Share on other sites More sharing options...
JohnBailey Posted October 23, 2007 Author Share Posted October 23, 2007 (edited) Dale, you wouldn't happen to know where I get more Browser Bar Class IDs pertaining to the "local explorer" (http://www.autoitscript.com/forum/index.php?showtopic=55648) The following works, but I'd like to find out more $oShell = ObjCreate("shell.application") ; Get the Windows Shell Object If Not IsObj($oShell) Then MsgBox(0,'','Not Obj') Exit EndIf $oShellWindows=$oShell.windows $oShellWindows.Item(1).visible = 1 $oShellWindows.Item(1).ShowBrowserBar ("{30d02401-6a81-11d0-8274-00c04fd5ae38}", True) FOUND IT! http://msdn2.microsoft.com/en-us/library/bb774150.aspx Dale! I've been looking SOOOOO long for it! Thank you for getting me on the right track. Now, I know them both! EDIT Dale, do you know what the function is to find out / get if the browser bar is open in the IE object? Edited October 23, 2007 by JohnBailey A decision is a powerful thing Link to comment Share on other sites More sharing options...
DaleHohm Posted October 23, 2007 Share Posted October 23, 2007 FOUND IT! http://msdn2.microsoft.com/en-us/library/bb774150.aspxDale! I've been looking SOOOOO long for it! Thank you for getting me on the right track. Now, I know them both!EDITYou're welcome.Dale, do you know what the function is to find out / get if the browser bar is open in the IE object?Sorry, no - never found it. Initial state is for IE7 is in the registry however - IE7ToolbarLayout 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 Link to comment Share on other sites More sharing options...
JohnBailey Posted October 23, 2007 Author Share Posted October 23, 2007 You're welcome.Sorry, no - never found it. Initial state is for IE7 is in the registry however - IE7ToolbarLayout DaleWell, Thank you for getting me the info for ShowBrowserBar and now I know what it's called too! I appreciate it A decision is a powerful thing 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