pythoncom InternetExplorer.Application don't work in vista || firefox pythoncom ?
gcmartijn at gmail.com
gcmartijn at gmail.com
Sun Jul 6 06:07:59 EDT 2008
On 5 jul, 14:14, "Méta-MCI \(MVP\)" <enleverlesX.X... at XmclaveauX.com>
wrote:
> Hi!
>
> Your code run OK for me (Vista Ultimate).
> This other version run also OK :
>
> def webbrowser(url=None):
> import win32com.client, time
>
> ie=win32com.client.Dispatch('InternetExplorer.Application')
> while ie.Busy==True:
> time.sleep(0.125)
> ie.Top = 0
> ie.Left = 0
> ie.Height = 400
> ie.Width = 400
> ie.AddressBar = False
> ie.MenuBar = False
> ie.Resizable = False
> ie.StatusBar = False
> ie.ToolBar = False
> ie.Visible = 1
> return ie
>
> w = webbrowser()
> w.Navigate('http://www.google.nl')
>
> @-salutations
> --
> Michel Claveau
I use your script now but I'm still getting 2 windows I uploaded a
screenshot how it looks.
1 at the background my window (but that is loading nothing)
1 at on top with the site http://www.google.nl (because that is in the
script)
http://img376.imageshack.us/img376/5506/capturess8.jpg
More information about the Python-list
mailing list