[python-win32] Re: getting a list of internet explorer instances?

2005-07-20 Thread Roger Upole
import win32com.client sw=win32com.client.Dispatch('{9BA05972-F6A8-11CF-A442-00A0C90A8F39}') for w in sw: print w.LocationURL The GUID represents the ShellWindows class, found in the makepy file for microsoft internet controls. hth Roger Marcus Goldfish wrote: I've seen some

Re: [python-win32] constants problem

2005-07-20 Thread kimwaic888-pythonwin32
Regarding my previous message, here's sample code I am using. It runs fine on my computer but not others. These computers have same versions of Word, Python, and Python-win32: from win32com.client import Dispatch, constants wordApp = Dispatch(Word.Application) print

Re: [python-win32] getting a list of internet explorer instances?

2005-07-20 Thread Marcus Goldfish
import win32com.client sw=win32com.client.Dispatch('{9BA05972-F6A8-11CF-A442-00A0C90A8F39}') for w in sw: print w.LocationURL The GUID represents the ShellWindows class, found in the makepy file for microsoft internet controls. Yes, that helps a lot! Can you explain the ShellWindows