[python-win32] Scheduling python COM scripts

2007-02-07 Thread Li Quid
Hi everyone, I'm trying to schedule a task using windows scheduled tasks for a python COM script. The script runs from a normal command line (cscript.exe PhatPod.pys). When the scheduled tasks manager runs the task, however, I get the following error: Microsoft (R) Windows Script Host Version 5.6

Re: [python-win32] Scheduling python COM scripts

2007-02-07 Thread Tim Roberts
Li Quid wrote: > > I'm trying to schedule a task using windows scheduled tasks for a > python COM script. The script runs from a normal command line > (cscript.exe PhatPod.pys). When the scheduled tasks manager runs the > task, however, I get the following error: > > Microsoft (R) Windows Scrip

[python-win32] Notification of standby/hibernate

2007-02-07 Thread Steve Freitas
Hi all, I'm new to the list (and Win32 programming) and glad to be here. 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 quite decided yet) when the machine it's installed on enters Standby or Hibernate mo

[python-win32] Setting object values that are an object (win32com)

2007-02-07 Thread Roger Upole
Paul Koning wrote: > I'm using win32com.client to access WMI (via SWbemServices). Much of > it works -- very nice. > > There are two things I'm trying to do that I can't get to work right. > Or rather, two approaches to the same thing, neither of which work. I > tried to dig through Microsoft do