Not sure if this will help. I wrote something like this a while back,
probably using IronPython 1.1. And it was for a different software.
import clr
from System.Runtime.InteropServices import Marshal
clr.AddReference("Microsoft.Office.Interop.PowerPoint")
import Microsoft.Office.Interop.PowerPoint as PowerPoint
ppt = Marshal.GetActiveObject("PowerPoint.Application")
def onWindowSelectionChange(selection):
print "Window selection changed."
ppt.WindowSelectionChange += onWindowSelectionChange
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com