[python-win32] win32com.client and microsoft agent question

MAUNIER Gerald Gerald.MAUNIER at gemplus.com
Fri Mar 19 05:30:58 EST 2004


Hi,
 
Just add this after the Dispatch :
ag.connected=1
 
The full example is then :
 
import win32com.client 
ag=win32com.client.Dispatch("Agent.Control")
ag.connected=1
ag.Characters.Load("Merlin")
ag.Characters("Merlin").Show()
raw_input("press enter...")
 
More documentation on microsoft's web site :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msagent/pacontrol_4b56.asp
 
Regards
Gerald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20040319/8b054205/attachment.html


More information about the Python-win32 mailing list