[python-win32] COM access to Mozilla Firefox

Hughes, Chad O chad.hughes at pnl.gov
Fri Jun 10 18:42:10 CEST 2005


In this example, I am using WScrip, so the available methods should be
found by looking up WScript:
 
from win32com.client import Dispatch
from time import sleep
s=Dispatch('WScript.Shell')
s.Run('Explorer http://www.msn.com')
 
or:
 
from win32com.client import Dispatch
from time import sleep
s=Dispatch('WScript.Shell')
s.Run('Mozilla http://www.msn.com')
sleep(3) 
 
 
Chad
 

	-----Original Message-----
	From: python-win32-bounces+chad.hughes=pnl.gov at python.org
[mailto:python-win32-bounces+chad.hughes=pnl.gov at python.org] On Behalf
Of Bob Gailer
	Sent: Thursday, June 09, 2005 10:15 AM
	To: python-win32 at python.org
	Subject: [python-win32] COM access to Mozilla Firefox
	
	
	What is the application name for Mozilla Firefox (to be used in
win32com.client.Dispatch())?
	
	Where is documentation as to what properties/methods are
available?
	
	Ditto on last question for Internet Explorer.
	

	Bob Gailer
	mailto:bgailer at alum.rpi.edu
	510 558 3275 home
	720 938 2625 cell 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20050610/d3bb53b3/attachment.html


More information about the Python-win32 mailing list