Re: [python-win32] idle detection on system?

2008-10-09 Thread Len Remmerswaal
If your question is still current: Did you try pyHook? (http://www.cs.unc.edu/Research/assist/developer.shtml). I use it in a wxPython app: it provides a message pump. The pyHook callback just increments an integer variable. A timer comes around every second or so to see if the variable changed

Re: [python-win32] Request for comments

2008-05-24 Thread Len Remmerswaal
Tim, Could you add "up" buttons to the "previous|next" lines? I always use that type of button to regain my bearings in the multitude of pages. Also I miss a possibility to walk from the start page to all pages linearly, if I feel like browsing the lot. Especially on page one, it seems there are

Re: [python-win32] win32com does not recognise an Interface for events

2007-08-10 Thread Len Remmerswaal
I now have something that actually works. See below. On 09-Aug-07 20:26, Thomas Heller wrote: So I did it slightly different: import comtypes.client as cc import comtypes.gen.S7PROSIMLib as S7PS class testVehikel: def __init__(self, progid, eventsClass): self.intf = cc.Cre

Re: [python-win32] win32com does not recognise an Interface for events

2007-08-09 Thread Len Remmerswaal
On 20:59, Thomas Heller wrote: OLE Viewer finds a second interface IS7ProSimEvents that is made the default source makepy does not recognise IS7ProSimEvents as an interface at all. It would appear that makepy is excluding non-dual interfaces, and that the integr

[python-win32] win32com does not recognise an Interface for events

2007-08-07 Thread Len Remmerswaal
for S7ProSim COM Object' oleItem, vtableItem = self._Build_Interface(type_info_tuple) returns (None, ) returns (None, ). This will lead to the exclusion of this interface later on. So how does this happen? In self._Build_Interface: oleItem = vtableItem = None