Re: [python-win32] Notification of standby/hibernate

2007-02-09 Thread Tim Golden
[... re tracking suspend/hibernate operations ...] > I'm the author of a helper WMI module which I > know a number of people find useful in this area: > > http://timgolden.me.uk/python/wmi.html > > but in this case (a) I have embarrassingly little support > for extrinsic events (which this is)

Re: [python-win32] Notification of standby/hibernate

2007-02-08 Thread Tim Golden
> I hope you don't mind doing a little hand-holding, since I have zero > experience with Win32 and am therefore bumbling about. > > I looked at this: > > http://msdn2.microsoft.com/en-us/library/aa394362.aspx > > Which leads me to believe that the right way to do this is somewhere > along these

Re: [python-win32] Notification of standby/hibernate

2007-02-08 Thread Steve Freitas
Hi Tim. On Thu, 2007-02-08 at 09:33 +, Tim Golden wrote: > Steve Freitas wrote: > > Hi all, > > > > I'm new to the list (and Win32 programming) and glad to be here. > > Welcome to the wonderful world of Win32 in Python! Thanks! I've been doing Python network programming on *nix for a few ye

Re: [python-win32] Notification of standby/hibernate

2007-02-08 Thread Tim Golden
Steve Freitas wrote: > Hi all, > > I'm new to the list (and Win32 programming) and glad to be here. Welcome to the wonderful world of Win32 in Python! > I've got a Python app that's running as a Windows Service. I'd like it > to be paused and continued (or possibly stopped and started, haven't >