Jump to content

InternetExplorer - Explorer Bar Panes


Recommended Posts

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 by JohnBailey
A decision is a powerful thing
Link to comment
Share on other sites

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

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

HAHAHAHA 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

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

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 by JohnBailey
A decision is a powerful thing
Link to comment
Share on other sites

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

You'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

You're welcome.

Sorry, no - never found it. Initial state is for IE7 is in the registry however - IE7ToolbarLayout

Dale

Well, 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

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
 Share

  • Recently Browsing   0 members

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