win32com: how to connect to a specific instance of a running object?

Tim Golden tim.golden at viacom-outdoor.co.uk
Fri Jun 2 03:41:52 EDT 2006


[ago]

| Is it possible to use win32com.client to connect to a 
| specific instance
| of a running application? In particular I am interested in finding the
| instance of excel which has a particular spreadsheet opened 
| considering
| that there might be more instances of excel running at the 
| same time. I
| need to take a "snapshot" of the spreadsheet which contains 
| live feeds.

Not something I've tried myself, but perhaps this
post/thread might help:

http://groups.google.com/group/comp.lang.python/msg/d985ada28948dcd8

(I cheated slightly when I Googled because I knew that 
GetActiveObject was something to do with the business)
TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list