DispatchEx('.Application')

I

iainws

When using win32com and DispatchEx to work with a webbrowser, eg:

from win32com.client import DispatchEx

ie = DispatchEx('InternetExplorer.Application')

can anyone suggest the right answer to this?

mf = DispatchEx('MozillaFirefox.Application')

It is an invalid class string, but I don't know how to find the right
class string for Mozilla (or any other window for that matter)? Can
somebody suggest to me an easy way to 'get' this information.

After that I intend to do this:

mf.Navigate('www.groups.google.com.au/etc'')

Will all of these functions work with Firefox or is it only Internet
Explorer(I can use either but I prefer Firefox?)
 
L

Larry Bates

When using win32com and DispatchEx to work with a webbrowser, eg:

from win32com.client import DispatchEx

ie = DispatchEx('InternetExplorer.Application')

can anyone suggest the right answer to this?

mf = DispatchEx('MozillaFirefox.Application')

It is an invalid class string, but I don't know how to find the right
class string for Mozilla (or any other window for that matter)? Can
somebody suggest to me an easy way to 'get' this information.

After that I intend to do this:

mf.Navigate('www.groups.google.com.au/etc'')

Will all of these functions work with Firefox or is it only Internet
Explorer(I can use either but I prefer Firefox?)
This might help: http://mail.python.org/pipermail/python-win32/2005-June/003413.html

-Larry Bates
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top