ie.ExecWB(40004, 2, 0, 0)

2006-07-14 Thread Etayki
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

Re: undefined SW_MAXIMIZE for ShowWindow function

2006-07-14 Thread Etayki
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(&

undefined SW_MAXIMIZE for ShowWindow function

2006-07-14 Thread Etayki
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