Thanks for the previous response. Now I want to do something similar:
ie.ExecWB(IDM_SELECTALL, OLECMDEXECOPT_DONTPROMPTUSER)
However, I don't have the values for the above constants either, and I
don't know how to import them. Any ideas?
--
http://mail.python.org/mailman/listinfo/python-list
OK, so it it turns out, the window will maximize when SW_MAXIMIZE =3.
But where can I find some documentation for that?
Etayki wrote:
> Hi!
>
> I'm trying to maximize a IE window. I have a handler and I'm trying to
> call ShowWindow to maximize it:
>
> ie = Dispatch(&
Hi!
I'm trying to maximize a IE window. I have a handler and I'm trying to
call ShowWindow to maximize it:
ie = Dispatch('InternetExplorer.Application')
handler = ie.HWND
ie.Visible = 1
win32gui.ShowWindow(handler, SW_MAXIMIZE)
But then I get this error:
'SW_MAXIMIZE' is not defined
The functio