IWebBrowser2::ShowBrowserBar

Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
User avatar
kczx3
Posts: 1224
Joined: 06 Oct 2015, 21:39

IWebBrowser2::ShowBrowserBar

28 Oct 2020, 14:44

How would I properly invoke this method? I can't figure out the VARIANT part and how to pass it.

IWebBrowser2::ShowBrowserBar
malcev
Posts: 836
Joined: 12 Aug 2014, 12:37

Re: IWebBrowser2::ShowBrowserBar

29 Oct 2020, 06:13

What exactly You dont understand?
For example to run IE with developer tools bar with this method should be like this:

Code: Select all

oIE := ComObjCreate("InternetExplorer.Application")
oIE.visible := true
oIE.Navigate("about:blank")
While oIE.Busy
   sleep 200
oIE.ShowBrowserBar("{28BCCB9A-E66B-463C-82A4-09F320DE94D7}", ComObj(0xb,-1))
msgbox
User avatar
kczx3
Posts: 1224
Joined: 06 Oct 2015, 21:39

Re: IWebBrowser2::ShowBrowserBar

29 Oct 2020, 07:57

I see, thank you! I assumed I was passing the first parameter incorrectly when in actuality it was the second parameter that I wasn't properly passing. I was just trying to pass true.

Return to “AutoHotkey v2 Help”

Who is online

Users browsing this forum: No registered users and 1 guest