|Tim Roberts wrote: |The "browser bar" thing was changed pretty radically between IE6 and |IE7, so it may just be that the GUIDs are different, or that the other |bars don't exist in the same universe any more.
Thanks Tim. I saw some tracks in the web documentation but was NOT clear on what or how much had changed. All I have available on my machines is IE 7 so I've no way of checking IE 6. If anyone has IE 6 and a minute to spare, I'd appreciate any feedback. I've attached a revised test routine that should make it relatively simple. On my machine (IE 7) only 'CLSID_SEARCH' seems to have any effect on the browser. Regards, Richard --- Revised test routine --- import win32com.client import time def spin(t): t0 = time.clock() while time.clock()-t0 < t: pass time.clock() ie=win32com.client.Dispatch('internetexplorer.application') ie.Visible=1 ie.Navigate('www.google.com') spin(3) print 'IE should be up and google displayed' print 'Now try several browser bar IDs got from the web and see what happens' bars = { 'CLSID_SEARCH': "{30D02401-6A81-11D0-8274-00C04FD5AE38}", 'CLSID_FAVORITES': "{EFA24E61-B078-11D0-89E4-00C04FC9E26E}", 'CLSID_HISTORY': "{EFA24E62-B078-11D0-89E4-00C04FC9E26E}", 'xHistory': "{C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1}", 'CLSID_CHANNELS': "{EFA24E63-B078-11D0-89E4-00C04FC9E26E}", 'CLSID_FOLDERS': "{EFA24E64-B078-11d0-89E4-00C04FC9E26E}", 'CLSID_xxx': '{32683183-48a0-441b-a342-7c2a440a9478}', 'xFavs': "{EFA24E61-B078-11D0-89E4-00C04FC9E26E}", 'xFolders': "{EFA24E64-B078-11D0-89E4-00C04FC9E26E}", 'xRadio': "{8E718888-423F-11D2-876E-00A0C9082467}", 'xHotbar': "{B195B3B3-8A05-11D3-97A4-0004ACA6948E}", 'xTip': "{4D5C8C25-D075-11d0-B416-00C04FB90376}" } for bar in bars: clid = bars[bar] print 'true', bar, clid ie.ShowBrowserBar(clid,True,0) spin(3) print 'false', bar ie.ShowBrowserBar(clid,False,0) spin(3) _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32