pythoncom.Connect

PyIDispatch = Connect(cls)

Connect to an already running OLE automation server.

Parameters

cls : CLSID

An identifier for the program. Usually "program.item"

Comments

This function is equivalent to pythoncom::GetActiveObject(clsid).pythoncom::QueryInterace (pythoncom.IID_IDispatch)